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