Hello,
I was wondering if it's possible to have on the right click on a treeview a contextmenu that instead of the List
Item1
Item2
Item3
Shows a panel with with customized voices and if so how can I create this
Thanks
Paolo
3 Answers, 1 is accepted
0
Hristo
Telerik team
answered on 08 Oct 2010, 07:52 AM
Hello Paolo,
What do you mean with "customized voices"?
RadContextMenu have ItemsPanel property that allows you to change the default panel of RadContextMenu.
Best wishes,
Hristo
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
excuse me I mean instead of the classic vertical to show a panel with a customized detail (image+itemname+description)
0
Hristo
Telerik team
answered on 08 Oct 2010, 10:19 PM
Hi Paolo,
If you want to show more information in every RadMenuItem you can use HeaderTemplate property and customize it to your needs. You can also directly set complex UI in the Header property if the menu is not data bound (for example StackPanel with few controls in it).
If you want to change the panel you should change RadContextMenu ItemsPanel property for the root items and every RadMenuItem ItemsPanel property for all submenu items.
Most of the styles can be applied on RadContextMenu as well.
Let us know if you need more help
Best wishes,
Hristo
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