Changing wpf viewer theme
Changing wpf viewer theme
Hello, got a question - since GlobalGuiStyle preoprty is obsoleted is it possible to change a style somehow? (Or at least to turn off adaptation of an StiViewer to a windows color scheme)
-
Lech Kulikowski
- Posts: 7545
- Joined: Tue Mar 20, 2018 5:34 am
Re: Changing wpf viewer theme
Hello,
You can use the following code:
StiUXTheme.ApplyNewTheme(StiThemeAppearance.Light, StiUXTheme.AccentColor);
Thank you.
You can use the following code:
StiUXTheme.ApplyNewTheme(StiThemeAppearance.Light, StiUXTheme.AccentColor);
Thank you.