Skip to main content
All docs
V23.2

TreeViewControl.CollapseNode(Int32) Method

Collapses the specified node.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v23.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