多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

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.
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题