March 2003
Intermediate to advanced
896 pages
32h 35m
English
NodeLabelEditEventArgs
This class represents the data for the
TreeView.BeforeLabelEdit and
TreeView.AfterLabelEdit events. You can discover
the Node that is being edited and the new
Label that will be set into the control.
You can also set CancelEdit to cancel the editing
process (or get the value to determine if the event has already been
canceled).
public class NodeLabelEditEventArgs : EventArgs { // Public Constructors public NodeLabelEditEventArgs(TreeNode node); public NodeLabelEditEventArgs(TreeNode node, string label); // Public Instance Properties public bool CancelEdit{set; get; } public string Label{get; } public TreeNode Node{get; } }
System.Object
→ System.EventArgs → NodeLabelEditEventArgs
NodeLabelEditEventHandler.{BeginInvoke(),
Invoke()}, TreeView.{OnAfterLabelEdit(), OnBeforeLabelEdit()}
Read now
Unlock full access