public PossibleFinishCellEditing ( bool expectingCellEdit ) : bool | ||
expectingCellEdit | bool | True if it is likely that another cell is going to be /// edited immediately after this cell finishes editing |
return | bool |
public virtual bool PossibleFinishCellEditing(bool expectingCellEdit)
{
if (!this.IsCellEditing)
return true;
this.cellEditEventArgs.Cancel = false;
this.cellEditEventArgs.NewValue = this.GetControlValue(this.cellEditor);
this.OnCellEditorValidating(this.cellEditEventArgs);
if (this.cellEditEventArgs.Cancel)
return false;
this.FinishCellEdit(expectingCellEdit);
return true;
}
ObjectListView::PossibleFinishCellEditing ( ) : bool |