Page 1 of 1

Changing wpf viewer theme

Posted: Wed Nov 26, 2025 12:36 pm
by Kredoks
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)

Re: Changing wpf viewer theme

Posted: Thu Nov 27, 2025 9:52 am
by Lech Kulikowski
Hello,

You can use the following code:
StiUXTheme.ApplyNewTheme(StiThemeAppearance.Light, StiUXTheme.AccentColor);

Thank you.