All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

TreeViewControl.GetNodeByVisibleIndex(Int32) Method

Returns a node with the specified visible index.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public TreeListNode GetNodeByVisibleIndex(
    int visibleIndex
)
Public Function GetNodeByVisibleIndex(
    visibleIndex As Integer
) As TreeListNode

Parameters

Name Type Description
visibleIndex Int32

The required node's position in the TreeViewControl.

Returns

Type Description
TreeListNode

The node with the specified visible index.

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