27 references to None
PresentationFramework (27)
System\Windows\Appearance\WindowBackdropManager.cs (1)
36if(!ThemeManager.IsFluentThemeEnabled && window.ThemeMode == ThemeMode.None)
System\Windows\Application.cs (4)
937if(value != null && ThemeMode != ThemeMode.None) 979/// <see cref="ThemeMode.None"/> - No Fluent theme is loaded. 986/// The default value is <see cref="ThemeMode.None"/>. 2525private ThemeMode _themeMode = ThemeMode.None;
System\Windows\ThemeManager.cs (14)
40if (window.ThemeMode == ThemeMode.None) 65if (window.ThemeMode == ThemeMode.None) 83if (newThemeMode == ThemeMode.None) 115if (newThemeMode == ThemeMode.None) 134return themeMode == ThemeMode.None ? false : true; 152if (!IsFluentThemeEnabled && window.ThemeMode == ThemeMode.None) 157if (window.ThemeMode != ThemeMode.None) 171return themeMode == ThemeMode.None 179if (themeMode == ThemeMode.None) 274if (IsFluentThemeEnabled || window.ThemeMode != ThemeMode.None) 323return Application.Current.ThemeMode != ThemeMode.None; 343if (themeMode == ThemeMode.None) 354ThemeMode themeMode = ThemeMode.None; 372return ThemeMode.None;
System\Windows\ThemeMode.cs (2)
39/// When <see cref="Application.ThemeMode"/> is not set to <see cref="None"/>, 40/// 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)
572/// <see cref="ThemeMode.None"/> - No Fluent theme is loaded. However, if <see cref="Application.ThemeMode"/> is not None, 580/// The default value is <see cref="ThemeMode.None"/>. 2165if(value != null && ThemeMode != ThemeMode.None) 2409if(ThemeMode != ThemeMode.None) 2621ThemeManager.OnWindowThemeChanged(this, ThemeMode.None, ThemeMode); 7319private ThemeMode _themeMode = ThemeMode.None;