The WPF viewer and designer follow a global UI theme — an appearance (Auto/Light/Dark) and an accent color — that you can read and change at run time.

Read and apply the theme. The current values come from StiUXTheme; ApplyNewTheme switches them live:
// Read the current appearance
switch (StiUXTheme.Appearance)
{
    case StiThemeAppearance.Auto:  comboBoxAppearance.SelectedIndex = 0; break;
    case StiThemeAppearance.Light: comboBoxAppearance.SelectedIndex = 1; break;
    case StiThemeAppearance.Dark:  comboBoxAppearance.SelectedIndex = 2; break;
}

// Apply a new appearance and accent color
StiUXTheme.ApplyNewTheme(StiThemeAppearance.Dark, StiThemeAccentColor.Blue);

How it works. Both the viewer and the designer subscribe to the global theme, so one call restyles the entire Stimulsoft UI to match your application.

Используя этот сайт, вы соглашаетесь на использование файлов Cookie для аналитики и персонализированного контента. Файлы Cookie хранят полезную информацию на вашем компьютере, чтобы помочь нам повысить эффективность и удобство использования. Для получения дополнительной информации, пожалуйста, прочтите Конфиденциальность и Использование Cookie.