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

How to remove expander in treeview

1 Answer 156 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sandeep
Top achievements
Rank 1
Sandeep asked on 16 Oct 2008, 06:49 PM
Hi,

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?

Thanks
Sandeep

1 Answer, 1 is accepted

Sort by
0
Accepted
Valentin.Stoychev
Telerik team
answered on 17 Oct 2008, 07:23 AM
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:
http://demos.telerik.com/silverlight/#Examples/TreeView/ExpanderStyle

Please let us know if you have anny other questions.

All the best,
Valentin.Stoychev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TreeView
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or