property Tree.AllowEdit as Boolean
Retrieves or sets a value that indicates whether the editing tree is allowed or disabled.

TypeDescription
Boolean A boolean expression that indicates whether the editing tree is allowed or disabled.

By default, the AllowEdit property is false. If the AllowEdit property is True, the control fires the BeforeCellEdit event just before editing a cell, and fires the AfterCellEdit after that edit operation ends. Use the Edit method to pragmatically edit an item. Use the SelStart and SelLenght properties to specify the selected text when edit operation starts.