Hi,
How can I handle the event raised when we use the context menu and select a option from the menu. for e.g. I have a context menu with a option "Open". On the menuItem I want to open up a dialog window.
Can you please help, or provide some references?
Thanks,
Deven
You can hook up to XamMenuItem's Click event and in the event handler implement the opening of the dialog window:
<ig:ContextMenuService.Manager>
<ig:ContextMenuManager>
<ig:ContextMenuManager.ContextMenu>
<ig:XamContextMenu>
<ig:XamMenuItem Header="Open" Click="Open_Click" />
</ig:XamContextMenu>
</ig:ContextMenuManager.ContextMenu>
</ig:ContextMenuManager>
</ig:ContextMenuService.Manager>
HTH,
You can handle the click event of the XamMenuItem.