Event fired when attempting to edit text label; return value determines if editing is allowed.

Parameters

none

Property of

TreeView

Description

Use canEditLabel to conditionally allow editing of a tree item’s text label. The canEditLabel event handler can either return true to allow editing, or false to prevent it.

Set allowEditLabels to false to prevent all label editing. In that case, canEditLabel will never fire.