Skip to content

TitleBar.OnThemeChanged(ApplicationTheme, Color) method

Defined in

Type: TitleBar Namespace: CrissCross.WPF.UI.Controls Assembly: CrissCross.WPF.UI.dll

Applies to

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

protected virtual void OnThemeChanged(ApplicationTheme currentApplicationTheme, Color systemAccent)

Summary: This virtual method is triggered when the app's theme changes.

Parameters

NameTypeDescription
currentApplicationTheme[ApplicationTheme](#The current application theme.
systemAccentColorThe system accent.