3 references to CancelEditCommand
PresentationFramework (3)
System\Windows\Controls\DataGrid.cs (3)
62CommandManager.RegisterClassInputBinding(ownerType, new InputBinding(CancelEditCommand, new KeyGesture(Key.Escape))); 63CommandManager.RegisterClassCommandBinding(ownerType, new CommandBinding(CancelEditCommand, new ExecutedRoutedEventHandler(OnExecutedCancelEdit), new CanExecuteRoutedEventHandler(OnCanExecuteCancelEdit))); 3256return EndEdit(CancelEditCommand, CurrentCellContainer, editingUnit, true);