Skip to main content
A newer version of this page is available. .
All docs
V22.2

TreeViewControl.CollapseNode(Int32) Method

Collapses the specified node.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public void CollapseNode(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

The row handle of the required node.

Remarks

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

See Also