3 instantiations of ThemeState
PresentationFramework (3)
MS\Win32\UxThemeWrapper.cs (3)
128
_themeState = new
ThemeState
(!SystemParameters.HighContrast && SafeNativeMethods.IsUxThemeActive(), null, null);
195
newState = new
ThemeState
(isActive, themeName, themeColor);
204
newState = new
ThemeState
(themeState.IsActive, themeName, themeColor);
8 references to ThemeState
PresentationFramework (8)
MS\Win32\UxThemeWrapper.cs (8)
163
private static
ThemeState
EnsureThemeState(bool themeChanged)
165
ThemeState
themeState = _themeState; // capture latest state
173
ThemeState
newState;
216
ThemeState
currentState = System.Threading.Interlocked.CompareExchange(ref _themeState, newState, themeState);
307
private static
ThemeState
_themeState;
373
ThemeState
themeState = EnsureThemeState(themeChanged:false);
397
ThemeState
themeState = EnsureThemeState(themeChanged:false);
415
ThemeState
themeState = EnsureThemeState(themeChanged:false);