Exemple #1
0
 public virtual void OnActivated(TreeViewItemEventArgs e)
 {
     if (_Activated != null)
     {
         _Activated(this, e);
     }
 }
Exemple #2
0
 public virtual void OnCollapsed(TreeViewItemEventArgs e)
 {
     if (_Collapsed != null)
     {
         _Collapsed(this, e);
     }
 }
Exemple #3
0
 public virtual void OnNodeMouseClick(TreeViewItemEventArgs e)
 {
     if (_NodeMouseClick != null)
     {
         _NodeMouseClick(this, e);
     }
 }
Exemple #4
0
 public virtual void OnExpanded(TreeViewItemEventArgs e)
 {
     if (_Expanded != null)
     {
         _Expanded(this, e);
     }
 }
Exemple #5
0
 /// <summary>
 /// Raises the node mouse click event.
 /// </summary>
 public void OnNodeMouseClick(TreeView widget, TreeViewItemEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnNodeMouseClick(e));
 }
Exemple #6
0
 /// <summary>
 /// Raises the <see cref="NodeMouseClick"/> event.
 /// </summary>
 /// <param name="e">Event arguments</param>
 protected virtual void OnNodeMouseClick(TreeViewItemEventArgs e)
 {
     Properties.TriggerEvent(NodeMouseClickEvent, this, e);
 }
Exemple #7
0
 /// <summary>
 /// Raises the collapsed event.
 /// </summary>
 public void OnCollapsed(TreeView widget, TreeViewItemEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnCollapsed(e));
 }
Exemple #8
0
 /// <summary>
 /// Raises the <see cref="Collapsed"/> event.
 /// </summary>
 /// <param name="e">Event arguments</param>
 protected virtual void OnCollapsed(TreeViewItemEventArgs e)
 {
     Properties.TriggerEvent(CollapsedEvent, this, e);
 }
Exemple #9
0
 /// <summary>
 /// Raises the <see cref="Expanded"/> event.
 /// </summary>
 /// <param name="e">Event arguments</param>
 protected virtual void OnExpanded(TreeViewItemEventArgs e)
 {
     Properties.TriggerEvent(ExpandedEvent, this, e);
 }
Exemple #10
0
 /// <summary>
 /// Raises the <see cref="Activated"/> event.
 /// </summary>
 /// <param name="e">Event arguments</param>
 protected virtual void OnActivated(TreeViewItemEventArgs e)
 {
     Properties.TriggerEvent(ActivatedEvent, this, e);
 }
Exemple #11
0
 /// <summary>
 /// Raises the node mouse click event.
 /// </summary>
 public void OnNodeMouseClick(TreeView widget, TreeViewItemEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnNodeMouseClick(e);
 }
Exemple #12
0
 /// <summary>
 /// Raises the collapsed event.
 /// </summary>
 public void OnCollapsed(TreeView widget, TreeViewItemEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnCollapsed(e);
 }