Switch
A binary on/off toggle.
Properties
IsOn
Whether the switch is on.
OnColor
The fill color while on, or null for the inherited tint.
ThumbColor
The thumb color, or null for the system default.
Toggled
Invoked with the new value whenever the user toggles the switch.