Skip to content

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

NameSummary
static ApplyDarkThemeToWindowTries to apply dark theme to Window.
static RemoveDarkThemeFromWindowTries to remove dark theme from Window.
static UpdateBackgroundForces change to application background. Required if custom background effect was previously applied.
Inherited members