Windows.UI.Xaml.Controls.ToggleSwitch.IsOn
June 22, 2022 ยท View on GitHub
-description
Gets or sets a value that declares whether the state of the ToggleSwitch is "On".
-xaml-syntax
<ToggleSwitch IsOn="bool" />
-property-value
true if the state is "On"; false if the state is "Off".
-remarks
"On" state uses the template from OnContentTemplate. "Off" state uses the template from OffContentTemplate.