欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCPD > MCPD(70-511)

单项选择题

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 within the application. 
What should you do?()

    A. Add the style to the <Grid.Resources> section of the main window. 
    B. Add the style to the <Window.Resources> section of the main window.
    C. Add the style to the <Application.Resources> section of the App.xaml file. 
    D. Add the style to the <Application.Properties> section of the App.xaml file.
    E. Add the style to the <ResourceDictionary> section of the ResourceDictionary.xaml file.

点击查看答案
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题