Search results

Enable RTL in Blazor Toggle Switch Button component

Toggle Switch Button component has RTL support. This can be achieved by setting EnableRtl as true.

The following example illustrates how to enable right-to-left support in Toggle Switch Button component.

@using Syncfusion.Blazor.Buttons

<SfSwitch EnableRtl="true" @bind-Checked="isCheked"></SfSwitch>

@code {
  private bool isChecked = false;
}

Output be like

Switch Sample