I've set the default and expanded images and the icons are showing correctly, but the black arrows still appear next to them. I thought the icons would override these arrows but apparantly they don't. How can I get rid of the black arrows?
Regards,
Anthony
1 Answer, 1 is accepted
0
Tina Stancheva
Telerik team
answered on 01 Aug 2012, 12:31 PM
Hello Anthony,
The black arrows actually represent the expander of each RadTreeViewItem. You can remove it by changing its default ControlTemplate to represent an empty Grid. You can apply this custom template through the RadTreeView.ExpanderStyle property like this:
<telerik:RadTreeView ...>
<telerik:RadTreeView.ExpanderStyle>
<Style TargetType="ToggleButton">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate>
<Grid />
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</telerik:RadTreeView.ExpanderStyle>
</telerik:RadTreeView>
Give this a try and let me know if it helps.
All the best,
Tina Stancheva
the Telerik team