Hello,
When a cell is selected in XamDataGrid, can I press the space bar or F2 key to make it in edit mode? If so, are there any examples?
Thanks.
The F2 key problem has been resolved. I found this problem was caused by my own data template.
Thanks for your reply. I selected a cell and then clicked the F2 key, but the cell didn't enter the edit mode. What do you think might cause this problem?
F2 is natively supported for entering edit mode, however the "space" key is not. What you can do is handle the PreviewKeyDown event of the XamDataGrid and call the DataPresenterCommands.StartEditMode if the active cell of the XamDataGrid is not already in EditMode.