Skip to main content

TcxTreeListNode.CanCollapse Method

Indicates whether the node can be collapsed.

Declaration

function CanCollapse: Boolean;

Returns

Type
Boolean

Remarks

If this function returns True, the node can be collapsed by clicking the expand button or by calling the node’s Collapse method. Call the TreeList control’s FullCollapse method to collapse all expanded nodes.

The CanCollapse function call fires the OnCollapsing event.

See Also