Exemplo n.º 1
0
 public virtual void OnExpanding(TreeGridViewItemCancelEventArgs e)
 {
     if (_Expanding != null)
     {
         _Expanding(this, e);
     }
 }
Exemplo n.º 2
0
 public virtual void OnCollapsing(TreeGridViewItemCancelEventArgs e)
 {
     if (_Collapsing != null)
     {
         _Collapsing(this, e);
     }
 }
Exemplo n.º 3
0
 public virtual void OnExpanding(TreeGridViewItemCancelEventArgs e)
 {
     Properties.TriggerEvent(ExpandingEvent, this, e);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Raises the collapsing event.
 /// </summary>
 public void OnCollapsing(TreeGridView widget, TreeGridViewItemCancelEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnCollapsing(e);
 }
Exemplo 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);
 }
Exemplo n.º 6
0
 /// <summary>
 /// Raises the collapsing event.
 /// </summary>
 public void OnCollapsing(TreeGridView widget, TreeGridViewItemCancelEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCollapsing(e));
 }