mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-20 18:11:20 +00:00
Update apply-themes.md
This commit is contained in:
committed by
GitHub
parent
776667490d
commit
7e8f79ac6f
@@ -18,5 +18,18 @@ Change by static property
|
||||
ThemeManager.CurrentTheme = ColorThemes.Classic;
|
||||
```
|
||||
|
||||
# Change themes by ResourceDictionary
|
||||
|
||||
Also you can change theme by adding resource dictionary after generic.xaml. Use one of them:
|
||||
```xml
|
||||
<ResourceDictionary Source="/brightsharp;component/style.devlab.xaml" />
|
||||
or
|
||||
<ResourceDictionary Source="/brightsharp;component/style.blue.xaml" />
|
||||
or
|
||||
<ResourceDictionary Source="/brightsharp;component/style.darkblue.xaml" />
|
||||
or
|
||||
<ResourceDictionary Source="/brightsharp;component/style.silver.xaml" />
|
||||
```
|
||||
|
||||
## NOTE
|
||||
It is recommended use `Background="{DynamicResource WindowBackgroundBrush}"` for Window markup
|
||||
|
||||
Reference in New Issue
Block a user