public virtual void OnActivated(TreeViewItemEventArgs e) { if (_Activated != null) { _Activated(this, e); } }
public virtual void OnCollapsed(TreeViewItemEventArgs e) { if (_Collapsed != null) { _Collapsed(this, e); } }
public virtual void OnNodeMouseClick(TreeViewItemEventArgs e) { if (_NodeMouseClick != null) { _NodeMouseClick(this, e); } }
public virtual void OnExpanded(TreeViewItemEventArgs e) { if (_Expanded != null) { _Expanded(this, e); } }
/// <summary> /// Raises the node mouse click event. /// </summary> public void OnNodeMouseClick(TreeView widget, TreeViewItemEventArgs e) { widget.Platform.Invoke(() => widget.OnNodeMouseClick(e)); }
/// <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); }
/// <summary> /// Raises the collapsed event. /// </summary> public void OnCollapsed(TreeView widget, TreeViewItemEventArgs e) { widget.Platform.Invoke(() => widget.OnCollapsed(e)); }
/// <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); }
/// <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); }
/// <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); }
/// <summary> /// Raises the node mouse click event. /// </summary> public void OnNodeMouseClick(TreeView widget, TreeViewItemEventArgs e) { using (widget.Platform.Context) widget.OnNodeMouseClick(e); }
/// <summary> /// Raises the collapsed event. /// </summary> public void OnCollapsed(TreeView widget, TreeViewItemEventArgs e) { using (widget.Platform.Context) widget.OnCollapsed(e); }