Right Click in silverlight
How to set contectmenu in silverlight 4.0
My code is :
<toolkit:ContextMenuService.ContextMenu> <toolkit:ContextMenu> <toolkit:MenuItem Header="Edit"/> </toolkit:ContextMenu> </toolkit:ContextMenuService.ContextMenu> But i have error like this.
Attachable property contextmenu not found
Answers & Comments...
Answer: 1
Answer: 1
You have to add following line this in xaml.
xmlns:toolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" You also have to give dll following referance
System.Windows.Controls.Toolkit.dll System.Windows.Controls.Input.Toolkit.dll System.Windows.Controls.Toolkit.dll
by : Hiteshhttp://stackoverflow.com/users/1309558
No comments:
Post a Comment
Send us your comment related to the topic mentioned on the blog