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

TcxCustomTreeList.OnCanSelectNode Event

In This Article

Enables you to control which nodes can be selected by end-users.

#Declaration

Delphi
property OnCanSelectNode: TcxTreeListNodeChangingEvent read; write;

#Remarks

Fires when a node is being selected, when the OnCanFocusNode‘s Allow parameter is True.

Sender specifies the tree list.

ANode specifies the node being selected.

Allow specifies whether ANode can be selected. Set Allow to True, to allow selection.

See Also