Skip to main content
A newer version of this page is available. .

TreeListView.CollapseNode(Int32) Method

Collapses the specified node.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v18.2.dll

Declaration

public void CollapseNode(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

An integer value that identifies a node by its handle.

Remarks

To collapse all nodes, use the TreeListView.CollapseAllNodes method. To expand the specified node or all nodes, use the TreeListView.ExpandNode or TreeListView.ExpandAllNodes method, respectively.

To learn more, see Expanding and Collapsing Nodes .

See Also