Back to Devexpress

TreeViewControl.CollapseNode(Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treeviewcontrol-dot-collapsenode-x28-system-dot-int32-x29.md

latest1.4 KB
Original Source

TreeViewControl.CollapseNode(Int32) Method

Collapses the specified node.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public void CollapseNode(
    int rowHandle
)
vb
Public Sub CollapseNode(
    rowHandle As Integer
)

Parameters

NameTypeDescription
rowHandleInt32

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

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace