27 references to None
PresentationFramework (27)
System\Windows\Appearance\WindowBackdropManager.cs (1)
35if(!ThemeManager.IsFluentThemeEnabled && window.ThemeMode == ThemeMode.None)
System\Windows\Application.cs (4)
924if(value != null && ThemeMode != ThemeMode.None) 966/// <see cref="ThemeMode.None"/> - No Fluent theme is loaded. 973/// The default value is <see cref="ThemeMode.None"/>. 2512private ThemeMode _themeMode = ThemeMode.None;
System\Windows\ThemeManager.cs (14)
31if (window.ThemeMode == ThemeMode.None) 56if (window.ThemeMode == ThemeMode.None) 74if (newThemeMode == ThemeMode.None) 106if (newThemeMode == ThemeMode.None) 125return themeMode == ThemeMode.None ? false : true; 143if (!IsFluentThemeEnabled && window.ThemeMode == ThemeMode.None) 148if (window.ThemeMode != ThemeMode.None) 162return themeMode == ThemeMode.None 170if (themeMode == ThemeMode.None) 265if (IsFluentThemeEnabled || window.ThemeMode != ThemeMode.None) 314return Application.Current.ThemeMode != ThemeMode.None; 334if (themeMode == ThemeMode.None) 345ThemeMode themeMode = ThemeMode.None; 363return ThemeMode.None;
System\Windows\ThemeMode.cs (2)
27/// When <see cref="Application.ThemeMode"/> is not set to <see cref="None"/>, 28/// even if <see cref="Window.ThemeMode"/> is set to <see cref="None">, the Fluent theme will be applied on the window.
System\Windows\Window.cs (6)
559/// <see cref="ThemeMode.None"/> - No Fluent theme is loaded. However, if <see cref="Application.ThemeMode"/> is not None, 567/// The default value is <see cref="ThemeMode.None"/>. 2152if(value != null && ThemeMode != ThemeMode.None) 2396if(ThemeMode != ThemeMode.None) 2608ThemeManager.OnWindowThemeChanged(this, ThemeMode.None, ThemeMode); 7306private ThemeMode _themeMode = ThemeMode.None;