Skip to main content

IdxTreeOwner.CanCollapse(TdxTreeCustomNode) Method

Returns whether a node can be collapsed.

Declaration

function CanCollapse(ASender: TdxTreeCustomNode): Boolean;

Parameters

Name Type
ASender TdxTreeCustomNode

Returns

Type
Boolean

Remarks

To indicate that a node can be collapsed, make the method return True.

In the base implementation, the method is called by the node’s Expanded property setter.

ASender specifies the node that can be collapsed.

See Also