Back to Devexpress

TreeListView.GetNodeVisibleIndex(TreeListNode) Method

wpf-devexpress-dot-xpf-dot-grid-dot-treelistview-dot-getnodevisibleindex-x28-devexpress-dot-xpf-dot-grid-dot-treelistnode-x29.md

latest1.7 KB
Original Source

TreeListView.GetNodeVisibleIndex(TreeListNode) Method

Returns the node’s position within a View among visible nodes.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public int GetNodeVisibleIndex(
    TreeListNode node
)
vb
Public Function GetNodeVisibleIndex(
    node As TreeListNode
) As Integer

Parameters

NameTypeDescription
nodeTreeListNode

A TreeListNode object that is the node whose visible index is returned.

|

Returns

TypeDescription
Int32

An integer value that specifies the node’s position among visible nodes. -1 if the specified node is hidden.

|

Remarks

To obtain a node by its visible index, use the TreeListView.GetNodeByVisibleIndex method.

To learn more, see Obtaining Nodes.

See Also

TreeListView Class

TreeListView Members

DevExpress.Xpf.Grid Namespace