Skip to main content

TreeListView.CollapseNode(Int32) Method

Collapses the specified node.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core


public void CollapseNode(
    int rowHandle


Name Type Description
rowHandle Int32

An integer value that identifies a node by its handle.


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.

See Also