3 instantiations of ThemeState
PresentationFramework (3)
MS\Win32\UxThemeWrapper.cs (3)
135
_themeState = new
ThemeState
(!SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null);
202
newState = new
ThemeState
(isActive, themeName, themeColor);
211
newState = new
ThemeState
(themeState.IsActive, themeName, themeColor);
8 references to ThemeState
PresentationFramework (8)
MS\Win32\UxThemeWrapper.cs (8)
170
private static
ThemeState
EnsureThemeState(bool themeChanged)
172
ThemeState
themeState = _themeState; // capture latest state
180
ThemeState
newState;
223
ThemeState
currentState = System.Threading.Interlocked.CompareExchange(ref _themeState, newState, themeState);
314
private static
ThemeState
_themeState;
380
ThemeState
themeState = EnsureThemeState(themeChanged:false);
404
ThemeState
themeState = EnsureThemeState(themeChanged:false);
422
ThemeState
themeState = EnsureThemeState(themeChanged:false);