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.