Skip to content

ThemeSwitcher.ApplyChoice(object?) method

Defined in

Type: ThemeSwitcher 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

public void ApplyChoice(object? choice)

Summary: Applies a theme choice and emits the current state.

Parameters

NameTypeDescription
choiceobject?The requested theme choice or name.