Esempio n. 1
0
 protected virtual void OnBeforeCellUpdating(TreeListBeforeCellUpdatingEventArgs e)
 {
     if (BeforeCellUpdating != null)
     {
         BeforeCellUpdating(this, e);
     }
 }
Esempio n. 2
0
        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);
        }
Esempio n. 3
0
 protected virtual void OnBeforeCellUpdating(TreeListBeforeCellUpdatingEventArgs e)
 {
     BeforeCellUpdating?.Invoke(this, e);
 }