Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1130
XamGrid ContextMenu Issue
posted

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

Parents
No Data
Reply Children
No Data