You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation<br /> Framework (WPF) application. <br /> You have a page named myPage that contains the following code fragment. <br /> <img src="https://img.ppkao.com/2018-07/yiyu/2018072716430823383.jpg" /><br /> You need to ensure that other pages in your application can use CustomerNameBrush. <br /> What should you do? ()<p> You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation<br /> Framework (WPF) application. <br /> You have a page named myPage that contains the following code fragment. <br /> <img src="https://img.ppkao.com/2018-07/yiyu/2018072716430823383.jpg" /><br /> You need to ensure that other pages in your application can use CustomerNameBrush. <br /> What should you do? ()</p>
A、A. Move CustomerNameBrush to the App.xaml file.
B、B. Inherit from myPage in all additional pages that use CustomerNameBrush.
C、C. Add a reference to myPage to all additional pages that use CustomerNameBrush.
D、D. Bind controls that need CustomerNameBrush to myPage.Resources.CustomerNameBrush.