System.Windows.Forms (system.windows.forms.dll) | class |
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; }
}
Hierarchy
System.Object System.EventArgs
NodeLabelEditEventArgs
Passed To
NodeLabelEditEventHandler.{BeginInvoke(),
Invoke()}, TreeView.{OnAfterLabelEdit(), OnBeforeLabelEdit()}
 |