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

TreeViewControl.GetNodeByRowHandle(Int32) Method

Returns a node with the specified handle.

Namespace: DevExpress.Xpf.Grid

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Grid.Core, DevExpress.Wpf.Grid.Core

Declaration

public TreeListNode GetNodeByRowHandle(
    int rowHandle
)

Parameters

Name Type Description
rowHandle Int32

The row handle of the required node.

Returns

Type Description
TreeListNode

The node with the specified row handle.

Remarks

A row handle is an integer value that identifies a node regardless of whether it is displayed in the TreeViewControl. A visible index is an integer value that identifies only a visible node. If a node is hidden in a collapsed node, its visible index is always -1.

The following images illustrate the difference between row handles and visible indices.

  • All nodes are expanded:

  • One node is collapsed:

See Also