SystemThemeManager class¶
Defined in
Namespace: CrissCross.WPF.UI.Appearance
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Appearance.SystemThemeManager
Modifiers: public static
Summary¶
Provides information about Windows system themes.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Examples¶
var currentWindowTheme = SystemThemeManager.GetCachedSystemTheme();
SystemThemeManager.UpdateSystemThemeCache();
var currentWindowTheme = SystemThemeManager.GetCachedSystemTheme();
Properties¶
| Name | Summary |
|---|---|
| static GlassColor | Gets the Windows glass color. |
| static HighContrast | Gets a value indicating whether the system is currently using the high contrast theme. |
Methods¶
| Name | Summary |
|---|---|
| static GetCachedSystemTheme | Returns the Windows theme retrieved from the registry. If it has not been cached before, invokes the [UpdateSystemThemeCache](# |
| static UpdateSystemThemeCache | Refreshes the currently saved system theme. |