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

单项选择题

You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation
Framework (WPF) application. 
You have a page named myPage that contains the following code fragment. 

You need to ensure that other pages in your application can use CustomerNameBrush.  
What should you do? ()

    A. Move CustomerNameBrush to the App.xaml file. 
    B. Inherit from myPage in all additional pages that use CustomerNameBrush.
    C. Add a reference to myPage to all additional pages that use CustomerNameBrush.
    D. Bind controls that need CustomerNameBrush to myPage.Resources.CustomerNameBrush.

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

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