Example of Switch in ASP.NET Core Button Control

Button
Switch

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 property, and disabled state is achieved by using the disabled property.

More information on Switch can be found in this documentation section .

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab