SelectedRows Property

Gets all selected rows in the grid when SelectionMode is set to flexSelectionListBox.


Public ReadOnly Property SelectedRows As Integer

Applies To

Grid Object

Data Type



This property works in conjunction with the SelectedRow 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

SelectedRow Property