Blazor Toolkit Switch Component
A toggle component used for enabling and disabling options. Ideal for settings, preferences, and binary selections.
Basic Usage
The simplest way to use SfSwitch is through bind-Checked property for two‑way binding.
Value Binding
You can control the switch using either Checked or CheckedChanged events, depending on your binding style.
Labels
Bluetooth:
ON
OFF
States
The switch can render in multiple states, including interactive and disabled modes. You can control availability using Disabled property
Form Validation
The switch integrates seamlessly with EditForm and Blazor validation.