Esempio n. 1
0
 public virtual void OnExpanding(TreeGridViewItemCancelEventArgs e)
 {
     if (_Expanding != null)
     {
         _Expanding(this, e);
     }
 }
Esempio n. 2
0
 public virtual void OnCollapsing(TreeGridViewItemCancelEventArgs e)
 {
     if (_Collapsing != null)
     {
         _Collapsing(this, e);
     }
 }
Esempio n. 3
0
 public virtual void OnExpanding(TreeGridViewItemCancelEventArgs e)
 {
     Properties.TriggerEvent(ExpandingEvent, this, e);
 }
Esempio n. 4
0
 /// <summary>
 /// Raises the collapsing event.
 /// </summary>
 public void OnCollapsing(TreeGridView widget, TreeGridViewItemCancelEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnCollapsing(e);
 }
Esempio n. 5
0
 /// <summary>
 /// Raises the <see cref="Collapsing"/> event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnCollapsing(TreeGridViewItemCancelEventArgs e)
 {
     Properties.TriggerEvent(CollapsingEvent, this, e);
 }
Esempio n. 6
0
 /// <summary>
 /// Raises the collapsing event.
 /// </summary>
 public void OnCollapsing(TreeGridView widget, TreeGridViewItemCancelEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCollapsing(e));
 }