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