Hello there,
I have an issue in the WPF DataGrid, i would like to use the F2 shortcut with my own command NOT with the default editing mode, but I failed to the do it.
I have made the following but didn't get it to work too:
grid.IsManipulationEnabled = false;
grid.EditTriggers = EditTriggers.None;
grid.CellEditorDisplayConditions = CellEditorDisplayConditions.None;
grid.ReadOnly = true;
I used the F5 key related to the refresh command by setting the IsRefreshCommandEnabled to false, then my own command is being executed correctly.
So, How should i accomplish the same with the F2 key ?
I don't know how to disable the usage of F2 key by your edit command?
regards,