Пример #1
0
 public virtual void OnActivated(TreeGridViewItemEventArgs e)
 {
     if (Activated != null)
     {
         Activated(this, e);
     }
 }
Пример #2
0
 public virtual void OnCollapsed(TreeGridViewItemEventArgs e)
 {
     if (_Collapsed != null)
     {
         _Collapsed(this, e);
     }
 }
Пример #3
0
 public virtual void OnExpanded(TreeGridViewItemEventArgs e)
 {
     if (_Expanded != null)
     {
         _Expanded(this, e);
     }
 }
Пример #4
0
 public virtual void OnExpanded(TreeGridViewItemEventArgs e)
 {
     Properties.TriggerEvent(ExpandedEvent, this, e);
 }
Пример #5
0
 public virtual void OnActivated(TreeGridViewItemEventArgs e)
 {
     Properties.TriggerEvent(ActivatedKey, this, e);
 }
Пример #6
0
 public virtual void OnCollapsed(TreeGridViewItemEventArgs e)
 {
     Properties.TriggerEvent(CollapsedEvent, this, e);
 }
Пример #7
0
 /// <summary>
 /// Raises the collapsed event.
 /// </summary>
 public void OnCollapsed(TreeGridView widget, TreeGridViewItemEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnCollapsed(e);
 }
Пример #8
0
 /// <summary>
 /// Raises the <see cref="Activated"/> event.
 /// </summary>
 /// <param name="e">Event arguments.</param>
 protected virtual void OnActivated(TreeGridViewItemEventArgs e)
 {
     Properties.TriggerEvent(ActivatedEvent, this, e);
 }
Пример #9
0
 /// <summary>
 /// Raises the collapsed event.
 /// </summary>
 public void OnCollapsed(TreeGridView widget, TreeGridViewItemEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCollapsed(e));
 }