2 instantiations of ThemeState
PresentationFramework (2)
src\Framework\MS\Win32\UxThemeWrapper.cs (2)
198
newState = new
ThemeState
(isActive, themeName, themeColor);
207
newState = new
ThemeState
(themeState.IsActive, themeName, themeColor);
8 references to ThemeState
PresentationFramework (8)
src\Framework\MS\Win32\UxThemeWrapper.cs (8)
166
private static
ThemeState
EnsureThemeState(bool themeChanged)
168
ThemeState
themeState = _themeState; // capture latest state
176
ThemeState
newState;
219
ThemeState
currentState = System.Threading.Interlocked.CompareExchange(ref _themeState, newState, themeState);
317
private static
ThemeState
_themeState;
383
ThemeState
themeState = EnsureThemeState(themeChanged:false);
407
ThemeState
themeState = EnsureThemeState(themeChanged:false);
425
ThemeState
themeState = EnsureThemeState(themeChanged:false);