public void CancelEditing() { // don't bother if we're not editing if (this.EditingCell == CellPos.Empty) { return; } this.EditingCellEditor.CancelEditing(); this.editingCell = CellPos.Empty; this.curentCellEditor = null; }