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/
I have logged this with development under ID: 178034 and I have also created a support ticket on your behalf: CAS-142149-R8W5F2 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx