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

RadContextMenu shownig a Panel

3 Answers 45 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Michele
Top achievements
Rank 2
Michele asked on 06 Oct 2010, 10:18 AM
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

Sort by
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
0
Michele
Top achievements
Rank 2
answered on 08 Oct 2010, 08:15 AM
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.

We have a great example of customizing RadMenu here:
http://demos.telerik.com/silverlight/#Menu/Customization

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
Tags
General Discussions
Asked by
Michele
Top achievements
Rank 2
Answers by
Hristo
Telerik team
Michele
Top achievements
Rank 2
Share this question
or