Back to Devexpress

TreeViewControl.GetNodeByRowHandle(Int32) Method

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

latest1.7 KB
Original Source

TreeViewControl.GetNodeByRowHandle(Int32) Method

Returns a node with the specified handle.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public TreeListNode GetNodeByRowHandle(
    int rowHandle
)
vb
Public Function GetNodeByRowHandle(
    rowHandle As Integer
) As TreeListNode

Parameters

NameTypeDescription
rowHandleInt32

The row handle of the required node.

|

Returns

TypeDescription
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

TreeViewControl Class

TreeViewControl Members

DevExpress.Xpf.Grid Namespace