# Right-to-Left Support

Learn about how TreeView supports languages that follow Right-to-Left scripts.

## Content

TreeView provides support for languages that follow Right-to-Left scripts. The control enables you to present all TreeView contents in the right-to-left direction by using the **RightToLeft** property of **System.Windows.Forms.Control**. You can set the property to any of the values in the **RightToLeft** enumeration of **Systems.Windows.Forms** as follows:

* **No**: Sets the direction from left to right, which is the default direction.
* **Yes**: Sets the direction from right to left.
* **Inherit**: Inherits the direction from the parent control.

![RTL support in TreeView](https://cdn.mescius.io/document-site-files/images/56bb69d1-e225-4d79-8965-f70a0e789043/images/righttoleft.png)

The following code snippets illustrate how to set these properties in code.

```vbnet
' set the RightToLeft property
C1TreeView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes
```

```csharp
// set the RightToLeft property
c1TreeView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
```