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
375
ContextMenu closes as soon as it opens on xamDialogWindow
posted

Hi,

I have placed text boxes and a XamDataGrid on a XamDialogWindow. I have set IsModal property of the XamDialogWindow to true and I have added ContextMenu On DataRecordPresenter of the grid.When I reight click on the grid, the contextMenu opens for a very brief time (few miliseconds) and then disappears. If the IsModal property is set to false, then it works just fine. I'm attaching a sample project. In this project my styling for XamDataGrid is done in XamDataGridStyle.xaml file. In ModalWindow if we put grid in scrollviewer. The scrollviewer contextmenu shows same behavior as well. A snapshot of snoop events for contextmenuopening and contextmenuclosing is also attached.
Your help will be appreciated.

InfragisticsDialogWindowIssue.zip