Back to Devexpress

TreeListControlBase.GetRowHandleByVisibleIndex(Int32) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistcontrolbase-dot-getrowhandlebyvisibleindex-x28-system-dot-int32-x29.md

latest2.2 KB
Original Source

TreeListControlBase.GetRowHandleByVisibleIndex(Int32) Method

Returns a node’s handle by specifying its visible index.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public int GetRowHandleByVisibleIndex(
    int visibleIndex
)
vb
Public Function GetRowHandleByVisibleIndex(
    visibleIndex As Integer
) As Integer

Parameters

NameTypeDescription
visibleIndexInt32

An integer value that specifies the node’s visible position within a View.

|

Returns

TypeDescription
Int32

An integer value that specifies the handle of the specified node.

|

Remarks

The GetRowHandleByVisibleIndex method returns InvalidRowHandle if the specified node does not exist.

Refer to the following help topics for more information: Iterate Through Nodes and Obtain Nodes.

See Also

TreeListNodeIterator

GetNodeByVisibleIndex(Int32)

GetNodeByRowHandle(Int32)

GetRowVisibleIndexByHandle(Int32)

TreeListControlBase Class

TreeListControlBase Members

DevExpress.Xpf.Grid Namespace