Ryan Black
Top achievements
Rank 1
Ryan Black
asked on 27 May 2010, 09:36 PM
Hello,
I have been playing around with this all day and have given up.
Based off the level of the treeview, I would like to change the expander line color. I tried to add a style to my ToggleButton x:Name="Expander" line in the RadTreeViewItem template figuring that would work but has no success.
I so far have only been able to change the expander for the entire treeview in the main treeview control.
Thanks for the help
Ryan
4 Answers, 1 is accepted
0
Adrian Pickering
Top achievements
Rank 1
answered on 01 Jun 2010, 02:35 PM
Has anyone got any ideas on this?
0
Hi Adrian Pickering,
Please find attached a sample project that demonstrates how to have different item styles for each tree view level.
I hope that this will help you.
Please let us know if you have any other questions or need some more help.
Kind regards,
Bobi
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Please find attached a sample project that demonstrates how to have different item styles for each tree view level.
I hope that this will help you.
Please let us know if you have any other questions or need some more help.
Kind regards,
Bobi
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Ryan Black
Top achievements
Rank 1
answered on 02 Jun 2010, 01:25 PM
Thanks for the example.
I need to use an expander in my solution, which you changed to use a rectangle. Could you do an example with different Togglebuttons (Expanders) for each item level.
Thanks again
Ryan
0
Accepted
Hi Ryan Black,
Please find attached a sample project.
In it you can see how to implement the expand/collapsed functionality with different styles for each level (different ToggleButtons).
I hope that this will help you. Please let us know if you have any other questions or need some more help.
Best wishes,
Bobi
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Please find attached a sample project.
In it you can see how to implement the expand/collapsed functionality with different styles for each level (different ToggleButtons).
I hope that this will help you. Please let us know if you have any other questions or need some more help.
Best wishes,
Bobi
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.