Hello,
How can I define a dynamic field to enter in edit mode only on double click?
Thanks.
bool isDoubleClicked = false; private void XamDataGrid1_PreviewMouseDoubleClick(object sender, MouseButtonEventArgs e) { isDoubleClicked = true; xamDataGrid1.ExecuteCommand(DataPresenterCommands.StartEditMode); } private void XamDataGrid1_EditModeStarting(object sender, Infragistics.Windows.DataPresenter.Events.EditModeStartingEventArgs e) { if (!isDoubleClicked) { e.Cancel = true; } isDoubleClicked = false; }