How to enable RTL in Blazor Toggle Switch Button
27 Aug 20261 minute to read
The Blazor Toggle Switch Button component supports right-to-left (RTL) layout. This can be achieved by setting the EnableRtl property to true.
The following example illustrates how to enable right-to-left support in the Blazor Toggle Switch Button component.
@using Syncfusion.Blazor.Buttons
<SfSwitch EnableRtl="true" @bind-Checked="isChecked"></SfSwitch>
@code {
private bool isChecked = false;
}