StyleGrid REALbasic Plugin |

# StyleGridSelection Class

StyleGridSelection class allows to read and manipulate StyleGrid selection.
Notes:
This class may never be manually constructed.
A Instance of this class can be obtained from the Selection property of the StyleGrid.
This class is not inheritable or comparable.

Object
StyleGridSelection

class StyleGridSelection

#### Properties

FirstSelectedColumn | Returns the first selected column.
FirstSelectedRow | Get the number of the first selected row.
LastSelectedColumn | If AreaSelection is enabled then this property will return the number of the last selected column.
LastSelectedRow | If AreaSelection is enabled then this property returns the number of the last selected row.
RowCount | Returns the count of selected rows.

#### Methods

AddRows | Adds rows to the selection when in Full Row and multiselection mode.
Clear | Clears the selection.
RemoveRows | Removes rows from the selection when in Full Row and multiselection mode.
RowIsSelected | Returns true if the row by the given index is selected.
SelectedRow | Returns the index of a row in the Grid from the index of the row in the selection. This function together with the RowCount function should be used to iterate through selected rows when in Full Row Multiselection mode.
Set | Selects a cell (or row).
Set | Selects range of cells (or rows) in a MultiSelection StyleGrid.

#### Supported Platforms:

- MacOS X PPC - (Mach-O)
- MacOS X Universal Binary (Mach-O)
- Win32 - Windows
- Linux x86

  #### Unsupported Platforms: