Enable RTL in Blazor Toggle Switch Button Component

11 Aug 20211 minute to read

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="isChecked"></SfSwitch>

@code {
  private bool isChecked = false;
}

Output be like

Switch Sample