public bool CommitFieldEdit() { if (IsEditingField) { if (editingCell.CommitEdit()) { editingCell = null; OnEditStateChanged(); return(true); } } return(false); }
public bool BeginFieldEdit() { if (!canBeginEdit) { return(false); } var currentCellService = UIServiceProvider.GetService <ICurrentCellService>(CellContainerOwner); editingCell = currentCellService.CurrentCellContainer as VirtualTableCell; if (editingCell != null) { if (editingCell.BeginEdit()) { OnEditStateChanged(); return(true); } } return(false); }