System.Windows.Forms.TreeView.LabelEdit Property

Gets or sets a value indicating whether the label text of the tree nodes can be edited.

Syntax

[System.ComponentModel.DefaultValue(false)]
public bool LabelEdit { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The TreeNode.BeginEdit method works only if the TreeView.LabelEdit property is true. If TreeView.LabelEdit is false when you attempt to edit the label, an exception will be thrown and the tree node will not be put in to an editable state.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0