Example of Switch in ASP.NET MVC Button Control
This sample demonstrates the default functionalities of a Switch. Click the Switch element to toggle between checked and unchecked states.
Hotspot & tethering
The Switch is a graphical user interface element that allows you to toggle between checked and unchecked states.
In this sample, checked state is achieved by using the
checked
opens in a new tab
property, and disabled state is achieved by using the
disabled
opens in a new tab
property.
More information on Switch can be found in the documentation section opens in a new tab .