Right to Left (RTL) in WinUI Controls

5 Jul 20221 minute to read

Right to left (RTL) support allows you to change the direction of text and other UI elements flow within the controls’ layout.

Syncfusion WinUI controls allow you to change the flow direction and are suitable for all applications that are localized in right to left languages. The layout of the control direction can be changed by setting the FlowDirection to RightToLeft.

The following example shows a TreeView control with RTL direction.

<treeView:SfTreeView x:Name="treeView" FlowDirection="RightToLeft"/>
treeView.FlowDirection = FlowDirection.RightToLeft;

WinUI TreeView with right-to-left flow direction