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