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
165
Context Menu in a XamGrid
posted

I am trying to add a context menu to my XamGrid, but adding the following code:

            <ig:ContextMenuService.Manager>
                <ig:ContextMenuManager ModifierKeys="None">
                    <ig:ContextMenuManager.ContextMenu>
                        <ig:XamContextMenu>
                            <ig:XamMenuItem Header="Item 1" />
                            <ig:XamMenuItem Header="Item 2" />
                            <ig:XamMenuItem Header="Item 3" />
                        </ig:XamContextMenu>
                    </ig:ContextMenuManager.ContextMenu>
                </ig:ContextMenuManager>
            </ig:ContextMenuService.Manager>

Inside the <ig:XamGrid> tag is throwing this error:

The attachable property 'Manager' was not found in type 'ContextMenuService'

I am trying to follow the samples but seems to be different on XamGrid, or I am wrong?

Parents Reply Children