Back to Devexpress

TreeListView.CollapseNode(Int32) Method

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

latest1.7 KB
Original Source

TreeListView.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

An integer value that identifies a node by its handle.

|

Remarks

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.

Tip

Topic : Expand and Collapse Nodes

See Also

Expand and Collapse Nodes

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace