This is a migrated thread and some comments may be shown as answers.

Changing the indentation of treeview

1 Answer 306 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 19 Jul 2010, 06:41 PM
Is there a way to control how far a child node is indented?  right now, the treeview looks nice, but takes up too much horizonal space, and I am looking to compress it somewhat.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Emanuel Varga
Top achievements
Rank 1
answered on 19 Jul 2010, 07:57 PM
You can use the tree Indent property of the rad tree.

You can access it via Property builder or programmatically using:
Snippet
            this.radTreeView1.TreeIndent = 20;

This is the default value but you can play with it to suit your need.

Hope this helps.

Emanuel
Tags
Treeview
Asked by
Steve
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Share this question
or