Right To Left in .NET MAUI Switch (SfSwitch)

21 Aug 20241 minute to read

The .NET MAUI Switch supports changing the layout direction of the control in the right-to-left direction by setting the FlowDirection to RightToLeft or by changing the device language.

<syncfusion:SfSwitch FlowDirection="RightToLeft" />
SfSwitch sfSwitch = new SfSwitch();
sfSwitch.FlowDirection = FlowDirection.RightToLeft;
this.Content = sfSwitch;

SfSwitch with RTL flowdirection