You are designing an application by using Windows Presentation Foundation (WPF) and Microsoft .NET Framework 4. The application will run on Windows 7based kiosks that are located indoors and outdoors. The kiosk displays have a photo sensor that will update the application with the current ambient luminosity. You need to ensure that the user interface (UI) of the application dynamically changes the application theme based on the ambient luminosity.
What should you use?
A.
a VisualBrush control to paint the UI
B.
a RenderTransform control applied to the root canvas
C.
a visual state manager to add VisualStateGroup objects
D.
an attached behavior to change a merged resource dictionary