Files
BrightSharp.Toolkit/docs/help/apply-themes.md
Vitaliy Semianiaka 55d7370d45 Update apply-themes.md
2017-02-18 00:28:19 +03:00

23 lines
498 B
Markdown

# Apply themes with App.xaml
`App.xaml`
```xml
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/brightsharp;component/generic.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
```
# Change themes by ThemeManager
Change by static property
```c#
ThemeManager.CurrentTheme = ColorThemes.Classic;
```
## NOTE
It is recommended use `Background="{DynamicResource WindowBackgroundBrush}"` for Window markup