26 references to ThemeManager
PresentationFramework (26)
System\Windows\Appearance\WindowBackdropManager.cs (1)
36if(!ThemeManager.IsFluentThemeEnabled && window.ThemeMode == ThemeMode.None)
System\Windows\Application.cs (6)
939value.MergedDictionaries.Insert(0, ThemeManager.GetThemeDictionary(ThemeMode)); 1009if (!ThemeManager.IsValidThemeMode(value)) 1020ThemeManager.OnApplicationThemeChanged(oldValue, value); 1036ThemeManager.OnApplicationThemeChanged(oldValue, value); 1779&& !ThemeManager.SkipAppThemeModeSyncing) 1781ThemeManager.SyncApplicationThemeMode();
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
38if (ThemeManager.IsFluentThemeEnabled) 70if (ThemeManager.IsFluentThemeEnabled)
System\windows\Documents\TextEditorContextMenu.cs (1)
425if(ThemeManager.IsFluentThemeEnabled)
System\Windows\SystemFonts.cs (3)
437if(ThemeManager.IsFluentThemeEnabled 438|| ThemeManager.IsFluentThemeDictionaryIncluded()) 440return MessageFontSize * ThemeManager.DefaultFluentFontSizeFactor ;
System\Windows\SystemResources.cs (3)
1417if(ThemeManager.IsFluentThemeEnabled || ThemeManager.FluentEnabledWindows.Count > 0) 1419ThemeManager.OnSystemThemeChanged();
System\Windows\TreeWalkHelper.cs (2)
465if(!ThemeManager.IgnoreWindowResourcesChange) 467ThemeManager.SyncWindowThemeMode(currentWindow);
System\Windows\Window.cs (8)
606if(!ThemeManager.IsValidThemeMode(value)) 616ThemeManager.OnWindowThemeChanged(this, oldTheme, value); 628ThemeManager.OnWindowThemeChanged(this, oldTheme, value); 2167value.MergedDictionaries.Insert(0, ThemeManager.GetThemeDictionary(ThemeMode)); 2411ThemeManager.FluentEnabledWindows.Remove(this); 2613if (ThemeManager.IsFluentThemeEnabled) 2615ThemeManager.ApplyStyleOnWindow(this); 2621ThemeManager.OnWindowThemeChanged(this, ThemeMode.None, ThemeMode);