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