protected virtual void OnBeforeCellUpdating(TreeListBeforeCellUpdatingEventArgs e) { if (BeforeCellUpdating != null) { BeforeCellUpdating(this, e); } }
protected internal bool RaiseBeforeCellUpdatingEvent(TreeListCell cell, object oldValue, ref object newValue) { var e = new TreeListBeforeCellUpdatingEventArgs { Cell = cell, OldValue = oldValue, NewValue = newValue }; OnBeforeCellUpdating(e); newValue = e.NewValue; return(e.Cancel); }
protected virtual void OnBeforeCellUpdating(TreeListBeforeCellUpdatingEventArgs e) { BeforeCellUpdating?.Invoke(this, e); }