Changing the indentation of treeview

2 posts, 0 answers
  1. Steve
    Steve avatar
    14 posts
    Member since:
    Jul 2005

    Posted 19 Jul 2010 Link to this post

    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.

  2. Emanuel Varga
    Emanuel Varga avatar
    1336 posts
    Member since:
    May 2010

    Posted 19 Jul 2010 Link to this post

    You can use the tree Indent property of the rad tree.

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

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

    Hope this helps.

Back to Top