Right-to-Left in .NET MAUI Switch (SfSwitch)
24 Jul 20261 minute to read
The .NET MAUI Switch control supports a right-to-left (RTL) layout direction. Use the FlowDirection property to control the layout direction of the Switch. The following example sets FlowDirection directly on the Switch:
<syncfusion:SfSwitch x:Name="sfSwitch"
FlowDirection="RightToLeft" />SfSwitch sfSwitch = new SfSwitch();
sfSwitch.FlowDirection = FlowDirection.RightToLeft;
this.Content = sfSwitch;The following image shows the Switch in RTL mode.
