Пример #1
0
 public virtual void OnBeforeLabelEdit(TreeViewItemCancelEventArgs e)
 {
     if (_BeforeLabelEdit != null)
     {
         _BeforeLabelEdit(this, e);
     }
 }
Пример #2
0
 public virtual void OnExpanding(TreeViewItemCancelEventArgs e)
 {
     if (_Expanding != null)
     {
         _Expanding(this, e);
     }
 }
Пример #3
0
 public virtual void OnCollapsing(TreeViewItemCancelEventArgs e)
 {
     if (_Collapsing != null)
     {
         _Collapsing(this, e);
     }
 }
Пример #4
0
 /// <summary>
 /// Raises the label editing event.
 /// </summary>
 public void OnLabelEditing(TreeView widget, TreeViewItemCancelEventArgs e)
 {
     widget.Platform.Invoke(() => widget.OnLabelEditing(e));
 }
Пример #5
0
 /// <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);
 }
Пример #6
0
 /// <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);
 }
Пример #7
0
 /// <summary>
 /// Raises the label editing event.
 /// </summary>
 public void OnLabelEditing(TreeView widget, TreeViewItemCancelEventArgs e)
 {
     using (widget.Platform.Context)
         widget.OnLabelEditing(e);
 }
Пример #8
0
 public virtual void OnExpanding(TreeViewItemCancelEventArgs e)
 {
     Properties.TriggerEvent(ExpandingEvent, this, e);
 }