-
-
Notifications
You must be signed in to change notification settings - Fork 9
SwitchView
Ieuan Walker edited this page Apr 5, 2023
·
5 revisions
SwitchView is essentially a blank ContentView that gives you a blank canvas to design any type of switch you want. It gives you the standard properties/ events and commands of a switch. It has been modified on an OS level to behave as a native switch from an accessibility POV.
The best place to learn how to create a new switch is by looking at the examples.
Property | What it does | Extra info |
---|---|---|
IsToggled | A bool to indicate the toggled status of the switch |
Default value is false |
Event | What it does |
---|---|
Toggled | Triggered when the switch is toggled |
Command | What it does |
---|---|
ToggledCommand | Triggered when the switch is toggled |
Coming soon