Skip to content

WindowBackgroundManager.ApplyDarkThemeToWindow(Window?) method

Defined in

Type: WindowBackgroundManager Namespace: CrissCross.WPF.UI.Appearance Assembly: CrissCross.WPF.UI.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481

public static void ApplyDarkThemeToWindow(Window? window)

Summary: Tries to apply dark theme to Window.

Parameters

NameTypeDescription
windowWindow?The window.