mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 10:21:16 +00:00
498 B
498 B
Apply themes with App.xaml
App.xaml
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/brightsharp;component/generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
Change themes by ThemeManager
Change by static property
ThemeManager.CurrentTheme = ColorThemes.Classic;
NOTE
It is recommended use Background="{DynamicResource WindowBackgroundBrush}" for Window markup