【单选题】You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You write the following code fragment. You need to ensure that the style is applied to all labels wi...
A.
Add the style to the section of the main window.
B.
Add the style to the section of the main window.
C.
Add the style to the section of the App.xaml file.
D.
Add the style to the section of the App.xaml file.
E.
Add the style to the section of the ResourceDictionary.xaml file.
【多选题】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 sty...
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.
【单选题】You create a Web Form with several UI elements on it. During a code review, you realize that some of the UI elements can be grouped into user controls. You need to create a Web control to group the UI...
A.
Use System.Web.UI.TemplateControl to group the UI elements.
B.
Use System.Web.UI.HtmlControls.HtmlControl to group the UI elements.
C.
Use System.Web.UI.LiteralControl to group the UI elements.
D.
Use System.Web.UI.WebControls.Literal to group the UI elements.