70-511 · Question #158
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…
The correct answer is B. Create a resource in an XAML file that contains the logo and style configurations. D. Add the resource as a ResourceDictionary in the MergedDictionaries collection of each. See the full explanation below for the reasoning.
Question
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.)
Options
- AMark the resource as an embedded resource in each application.
- BCreate a resource in an XAML file that contains the logo and style configurations.
- CCreate a resource in a custom control that contains the logo and style configurations.
- DAdd the resource as a ResourceDictionary in the MergedDictionaries collection of each
- EUse ResourceManager to read the content of the resource.
How the community answered
(28 responses)- A7% (2)
- B75% (21)
- C14% (4)
- E4% (1)
Community Discussion
No community discussion yet for this question.