public virtual void OnBeforeLabelEdit(TreeViewItemCancelEventArgs e) { if (_BeforeLabelEdit != null) { _BeforeLabelEdit(this, e); } }
public virtual void OnExpanding(TreeViewItemCancelEventArgs e) { if (_Expanding != null) { _Expanding(this, e); } }
public virtual void OnCollapsing(TreeViewItemCancelEventArgs e) { if (_Collapsing != null) { _Collapsing(this, e); } }
/// <summary> /// Raises the label editing event. /// </summary> public void OnLabelEditing(TreeView widget, TreeViewItemCancelEventArgs e) { widget.Platform.Invoke(() => widget.OnLabelEditing(e)); }
/// <summary> /// Raises the <see cref="LabelEditing"/> event. /// </summary> /// <param name="e">Event arguments</param> protected virtual void OnLabelEditing(TreeViewItemCancelEventArgs e) { Properties.TriggerEvent(LabelEditingEvent, this, e); }
/// <summary> /// Raises the <see cref="Collapsing"/> event. /// </summary> /// <param name="e">Event arguments</param> protected virtual void OnCollapsing(TreeViewItemCancelEventArgs e) { Properties.TriggerEvent(CollapsingEvent, this, e); }
/// <summary> /// Raises the label editing event. /// </summary> public void OnLabelEditing(TreeView widget, TreeViewItemCancelEventArgs e) { using (widget.Platform.Context) widget.OnLabelEditing(e); }
public virtual void OnExpanding(TreeViewItemCancelEventArgs e) { Properties.TriggerEvent(ExpandingEvent, this, e); }