WindowBackgroundManager class¶
Defined in
Namespace: CrissCross.WPF.UI.Appearance
Assembly: CrissCross.WPF.UI.dll
Full name: CrissCross.WPF.UI.Appearance.WindowBackgroundManager
Modifiers: public static
Summary¶
Facilitates the management of the window background.
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Examples¶
WindowBackgroundManager.UpdateBackground(
observedWindow.RootVisual,
currentApplicationTheme,
observedWindow.Backdrop,
observedWindow.ForceBackgroundReplace
);
Methods¶
| Name | Summary |
|---|---|
| static ApplyDarkThemeToWindow | Tries to apply dark theme to Window. |
| static RemoveDarkThemeFromWindow | Tries to remove dark theme from Window. |
| static UpdateBackground | Forces change to application background. Required if custom background effect was previously applied. |