
There is also an event called SystemThemeChanged if you want to do more. for windows 7 system accent color and the light theme is used.įor systems running an earlier version of Windows, the light theme and the color PrimaryBrush (default blue) are used. = Brushes.Red įor systems running Windows 10, the system accent color and system Theme is used. If you’d like to change them at runtime, it’s usually more convenient to use the ThemeManager class, which supports data binding. Values set this way are applied at both design time and runtime.

To override the default settings, set properties on the ThemeResources class in App.xaml. This event is called whenever the Windows Theme changes This event is called whenever the ApplicationTheme changes All classes related to Theme Located in the Hand圜ontrol.Themes namespace.
