Represents a set of selected cells and objects within a grid view.
The following tables list the members exposed by the Selection type.
Name | Description | |
---|---|---|
![]() |
Overloaded. Adds a cell or a range of cells to the selection. |
|
![]() |
Overloaded. Adds a column or a range of columns to the selection. |
|
![]() |
Selects the specified object. |
|
![]() |
Overloaded. Adds a row or a range of rows to the collection. |
|
![]() |
Registers listener so that it will receive events from the selection. |
|
![]() |
Selects the specified object, deselects all other currently selected objects. |
|
![]() |
Clears the selection. |
|
![]() |
Removes all interactive objects from the selection. |
|
![]() |
Checks whether the selection contains the cell at the specified coordinates. |
|
![]() |
Checks whether the specified object is contained in the selection. |
|
![]() |
Gets an enumerable with all selected cell ranges. |
|
![]() |
Gets the index of the bottommost column of the selected cell range. |
|
![]() |
Gets the index of the leftmost column of the selected cell range. |
|
![]() |
Gets a list with the selected objects. |
|
![]() |
Gets a CellRange object representing the selected range of cells, or null, if the selection is empty. |
|
![]() |
Gets the index of the rightmost column of the selected cell range. |
|
![]() |
Gets the index of the topmost column of the selected cell range. |
|
![]() |
Checks whether the specified column is part of the selection. |
|
![]() |
Indicates whether the specified row is part of the selection. |
|
![]() |
Gets a value indicating whether the selection contains any cells. |
|
![]() |
Removes the specified object from the selection. |
|
![]() |
Unregisters listener so that it will no longer receive selection events. |
|
![]() |
Overloaded. Selects all cells in the worksheet. |
|
![]() |
Overloaded. Selects a column or a range of columns. |
|
![]() |
Overloaded. Selects a row or a range of rows. |
|
![]() |
Overloaded. Sets the selection to a cell or a range of cells. |
|
![]() |
Toggles the selection state of the specified object. |