StyleGrid REALbasic Plugin |

# StyleGridSelection.LastSelectedRow Property

If AreaSelection is enabled then this property returns the number of the last selected row.

LastSelectedRow as Integer {Read}

#### Remarks

When the Grid is in Full Row mode then you should be careful using the FirstSelectedRow and LastSelectedRow properties since when in Full Row and multiselection mode then non continuous selection is supported which means that not all rows between the FirstSelectedRow and LastSelectedRow are necessarily selected.
Use the RowCount and the SelectedRow function to Iterate through selected rows when in Full Row and multiselection mode.

#### See Also

StyleGridSelection Class