TreeView for WinForms | ComponentOne
In This Topic
    Right-to-Left Support
    In This Topic

    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:

    RTL support in TreeView

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

    ' set the RightToLeft property
    C1TreeView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes
    
    // set the RightToLeft property
    c1TreeView1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;