Skip to main content

TcxCustomTreeList.OnCanSelectNode Event

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

Declaration

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