26 references to ThemeManager
PresentationFramework (26)
System\Windows\Appearance\WindowBackdropManager.cs (1)
35
if(!
ThemeManager
.IsFluentThemeEnabled && window.ThemeMode == ThemeMode.None)
System\Windows\Application.cs (6)
903
value.MergedDictionaries.Insert(0,
ThemeManager
.GetThemeDictionary(ThemeMode));
973
if (!
ThemeManager
.IsValidThemeMode(value))
984
ThemeManager
.OnApplicationThemeChanged(oldValue, value);
1000
ThemeManager
.OnApplicationThemeChanged(oldValue, value);
1746
&& !
ThemeManager
.SkipAppThemeModeSyncing)
1748
ThemeManager
.SyncApplicationThemeMode();
System\Windows\Controls\DataGridCheckBoxColumn.cs (2)
34
if (
ThemeManager
.IsFluentThemeEnabled)
66
if (
ThemeManager
.IsFluentThemeEnabled)
System\windows\Documents\TextEditorContextMenu.cs (1)
423
if(
ThemeManager
.IsFluentThemeEnabled)
System\Windows\SystemFonts.cs (3)
428
if(
ThemeManager
.IsFluentThemeEnabled
429
||
ThemeManager
.IsFluentThemeDictionaryIncluded())
431
return MessageFontSize *
ThemeManager
.DefaultFluentFontSizeFactor ;
System\Windows\SystemResources.cs (3)
1397
if(
ThemeManager
.IsFluentThemeEnabled ||
ThemeManager
.FluentEnabledWindows.Count > 0)
1399
ThemeManager
.OnSystemThemeChanged();
System\Windows\TreeWalkHelper.cs (2)
461
if(!
ThemeManager
.IgnoreWindowResourcesChange)
463
ThemeManager
.SyncWindowThemeMode(currentWindow);
System\Windows\Window.cs (8)
585
if(!
ThemeManager
.IsValidThemeMode(value))
595
ThemeManager
.OnWindowThemeChanged(this, oldTheme, value);
607
ThemeManager
.OnWindowThemeChanged(this, oldTheme, value);
2148
value.MergedDictionaries.Insert(0,
ThemeManager
.GetThemeDictionary(ThemeMode));
2390
ThemeManager
.FluentEnabledWindows.Remove(this);
2591
if (
ThemeManager
.IsFluentThemeEnabled)
2593
ThemeManager
.ApplyStyleOnWindow(this);
2599
ThemeManager
.OnWindowThemeChanged(this, ThemeMode.None, ThemeMode);