OK so if I make my own keyless context menu (substitute it for the infragistics supplied one that appears when i right-click contents of a cell Cut/Copy/Paste) i can set its Visibility to Hidden. This gets rid of the menu appearing, but how do i stop the Ctrl-X, C, V in the original menu from firing the built-in Cut/Copy/Paste commands? Or, how do i override them with my own methods?
My problem is that the Cut command cuts the view of the grid, but then leaving the grid causes the cell to be repopulated by the underlying data it is attached too. I would need to change the Cut to Cut like it is, but also remove the data bound to it. I know how to do the last part, but i just want to intercept Infragistics's Cut command on the cell in datapresenter and do my own "Cut" command instead. Or simply stop the Infragistics Cut Command from happening at all when Ctrl-X is pressed would be fine too.
Hello,
Thank you for your post. I have been looking into it and I can suggest you use the AllowClipBoardOperations Property of the XamDataGrid’s FieldLayoutSettings. Here you can read more about it:
http://help.infragistics.com/NetAdvantage/WPF/2012.1/CLR4.0/?page=InfragisticsWPF4.DataPresenter.v12.1~Infragistics.Windows.DataPresenter.AllowClipboardOperations.html
Hope this helps you.