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