Skip to content

SystemThemeManager.GetCachedSystemTheme() method

Defined in

Type: SystemThemeManager Namespace: CrissCross.WPF.UI.Appearance Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static SystemTheme GetCachedSystemTheme()

Summary: Returns the Windows theme retrieved from the registry. If it has not been cached before, invokes the UpdateSystemThemeCache and then returns the currently obtained theme.

Returns: SystemTheme -- Currently cached Windows theme.