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

TreeView Expander Toggle

1 Answer 79 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Jeff
Top achievements
Rank 1
Jeff asked on 26 Sep 2012, 04:48 PM
Why can't I explicitly change the style of the "Expander" togglebutton? I am unable to change the look of the default expander unless I reference a template. I can't reference a Style and I can't even explicity change the background of the control.  

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 27 Sep 2012, 01:14 PM
Hi Jeff,

The expander icon is represented by a ToggleButton and you can modify its default settings by applying on it a Style targeting a ToggleButton. For that purpose you can either use explicit styles or the RadTreeView/RadTreeViewItem ExpanderStyle property. Please take a look at the Styling the Expander article for further information.

All the best,
TeamX2_Pavel
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
TreeView
Asked by
Jeff
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or