Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomShellTreeView.OnEditing Event

In This Article

Enables you to prohibit end-users from editing specific shell item captions.

#Declaration

Delphi
property OnEditing: TTVEditingEvent read; write;

#Remarks

This event occurs before in-place text editing is initiated for the selected tree node.

Sender specifies the shell tree view that raised the event.

Node specifies the tree node that corresponds to the shell item whose caption is to be edited. Normally, Node is the currently selected tree node.

Pass False as the AllowEdit parameter to cancel editing, prohibiting end-users from renaming the Node.

You can prohibit end-users from renaming all item captions via the ReadOnly property. To override end-user changes to shell item captions, handle the OnEdited event.

Note

Generally, only the shell items marked with the corresponding Capabilities flag can be renamed.

See Also