I have some encountered some issue with the ContextMenu in XamGrid. To illustrate this issue, I have added the following code snippet to GroupColumns.xaml in the Infragistics.Samples.WPF solution.
<ig:XamGrid x:Name="dataGrid" AutoGenerateColumns="False" KeyboardNavigation="AllLayouts"> <ig:ContextMenuService.Manager> <ig:ContextMenuManager OpenMode="RightClick"> <ig:ContextMenuManager.ContextMenu> <ig:XamContextMenu Name="xamContextMenu" AllowDrop="False" > <ig:XamMenuItem Header="Edit"> </ig:XamMenuItem> </ig:XamContextMenu> </ig:ContextMenuManager.ContextMenu> </ig:ContextMenuManager> </ig:ContextMenuService.Manager> <ig:XamGrid.Columns>
All I am adding is a ContextMenu to the XamGrid and add a "Edit" MenuItem
Issue 1: When I right mouse click, the contextMenu pops up, but when I click on the "Edit" MenuItem, another contextMenu pops up to the right of the of orignial ContextMenu. This happens real quick in this example. But if the is processing involved, you can see it more clearly.
Issue 2: when I continously right mouse click on the Grid (without moving the cursor), the Context Menu flips flop rleft and right of the cusror. (i think this is link to the first issue)
Issue 3 : ModifierKeys="None" is not recoginzed
Can anyone tell me if this is a bug. Or is there a work around
thanks
Steven
Hello Steven,
We have shipped out a new service release where your issue is resolved. I'd be glad to find out if you had tested it out and if it had met your requirements.
You can download the Service Releases by logging to our web site and going to Account \Keys & Downloads.
https://ko.infragistics.com/my-account/keys-and-downloads/