3 Answers, 1 is accepted
0
Hi Pierre,
Yes, it is possible. If fact you can attach RadContextMenu on any UIElement.
You can find examples here:
http://demos.telerik.com/silverlight/#ContextMenu/FirstLook
Let us know if you need more help.
Kind regards,
Hristo
the Telerik team
Yes, it is possible. If fact you can attach RadContextMenu on any UIElement.
You can find examples here:
http://demos.telerik.com/silverlight/#ContextMenu/FirstLook
Let us know if you need more help.
Kind regards,
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
Jon Barron
Top achievements
Rank 1
answered on 13 Dec 2010, 10:10 PM
Can you please be a little more specific. Looking at the First look demo, it is not obvious where specifically you are attaching a context menu to an image.
0
Hello Jon Barron,
You can read the Getting Started section from RadContextMenu online help from here:
http://www.telerik.com/help/silverlight/contextmenu-getting-started.html
At the relevant part is that you have to use the RadContextMenu.ContextMenu attached property to attach context menu on a UIElement:
Let us know if you need more help.
Regards,
Hristo
the Telerik team
You can read the Getting Started section from RadContextMenu online help from here:
http://www.telerik.com/help/silverlight/contextmenu-getting-started.html
At the relevant part is that you have to use the RadContextMenu.ContextMenu attached property to attach context menu on a UIElement:
<
telerik:RadButton
Content
=
"Right Click me"
>
<
telerik:RadContextMenu.ContextMenu
>
<
telerik:RadContextMenu
x:Name
=
"contextMenu"
ItemClick
=
"ContextMenuClick"
>
<
telerik:RadMenuItem
Header
=
"Set Vista as Background"
/>
<
telerik:RadMenuItem
Header
=
"Set Beach as Background"
/>
<
telerik:RadMenuItem
Header
=
"Set Forest as Background"
/>
</
telerik:RadContextMenu
>
</
telerik:RadContextMenu.ContextMenu
>
</
telerik:RadButton
>
Let us know if you need more help.
Regards,
Hristo
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight