Skip to main content
All docs
V24.1

TreeViewControl.CollapseNode(Int32) Method

Collapses the specified node.

Namespace: DevExpress.Xpf.Grid

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