Right To Left in .NET MAUI Switch (SfSwitch)
21 May 20251 minute to read
The .NET MAUI Switch supports changing the layout direction to a right-to-left (RTL) orientation. This can be achieved by setting the FlowDirection
property to RightToLeft
, or by changing the device’s language to one that uses an RTL script.
<syncfusion:SfSwitch FlowDirection="RightToLeft" />
SfSwitch sfSwitch = new SfSwitch();
sfSwitch.FlowDirection = FlowDirection.RightToLeft;
this.Content = sfSwitch;