SelectedRow Property

Returns the position of a selected row when SelectionMode is set to flexSelectionListBox.


Public Property SelectedRow(ByVal index As Integer) As Integer

Applies To

Grid Object

Data Type



This property works in conjunction with the SelectedRows property to enumerate all selected rows in the control. These properties are especially useful when the SelectionMode property is set to flexSelectionListBox, which allows the user to select multiple, non-adjacent rows.

Using the SelectedRows and SelectedRow properties to enumerate all selected rows is equivalent to, but faster than scanning the entire control for selected rows by reading the IsSelected property.


See Also

SelectedRows Property