Set disabled state in Blazor Toggle Switch Button Component
25 Jun 20261 minute to read
Toggle Switch Button can be disabled by setting the Disabled property to true.
The following example illustrates how to disable support in Toggle Switch Button component.
@using Syncfusion.Blazor.Buttons
<SfSwitch Disabled="true" @bind-Checked="isChecked"></SfSwitch>
@code {
private bool isChecked = false;
}