ListBox.RowDepth


Warning

This item was deprecated in version 2019r2. Please use DesktopListBox.RowDepthAt as a replacement.

Description

For hierarchical ListBoxes, this is the depth of the specified row in the hierarchy. A top-level row has RowDepth = 0.

Sample code

Get depth of selected row:

Dim row As Integer = ListBox1.ListIndex
Dim depth As Integer = ListBox1.RowDepth(row)

Compatibility

All projects types on all supported operating systems.