Search results

Enable RTL in Blazor Toggle Switch Button component

28 Jul 2021 / 1 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.

Copied to clipboard
@using Syncfusion.Blazor.Buttons

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

@code {
  private bool isChecked = false;

Output be like

Switch Sample