Which two actions should you perform?

You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application.
Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard.
You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

You use Microsoft .NET Framework 4 to create a custom Windows Presentation Foundation (WPF) application.
Your environment includes several WPF applications. The applications use the same logo and style configuration as part of a corporate standard.
You need to ensure that the existing applications can be updated to use the same logo and style settings without recompiling.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

A.
Mark the resource as an embedded resource in each application.

B.
Create a resource in an XAML file that contains the logo and style configurations.

C.
Create a resource in a custom control that contains the logo and style configurations.

D.
Add the resource as a ResourceDictionary in the MergedDictionaries collection of each application.

E.
Use ResourceManager to read the content of the resource. Manually assign the style configurations included in the resource file to the appropriate control in each application.



Leave a Reply 0

Your email address will not be published. Required fields are marked *