How to remove expander in treeview

2 posts, 1 answers
  1. Sandeep
    Sandeep avatar
    18 posts
    Member since:
    Oct 2008

    Posted 16 Oct 2008 Link to this post


    I want to remove expander in treeview or width =0.  because there is more space in left side of displayed text,

    or can you help me to make border or rectangle in which both expander and displayed text will be dispalayed?

  2. Answer
    Valentin.Stoychev avatar
    2198 posts

    Posted 17 Oct 2008 Link to this post

    Hi Sandeep,

    You can use the ExpanderStyle property of the RadTreeView to set the style of the expander. Basically the expander in RadTreeView is a ToggleButton. You can see example how to use the expander property here:

    Please let us know if you have anny other questions.

    All the best,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top