This sample demonstrates the default functionalities of a Switch. Click the Switch element to toggle between checked and unchecked states.
The Switch is a graphical user interface element that allows you to toggle between check and unchecked states.
In this sample, checked state is achieved by using the
property, and disabled state is achieved by using the
More information on Switch can be found in the documentation section.