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

Parameter

none

Eigenschaft von

TreeView

Beschreibung

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.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.