[]
Interface that supports creating a model that represents cell selection.
public interface ISheetSelectionModel
Public Interface ISheetSelectionModel
| Name | Description |
|---|---|
| AnchorColumn | Gets the column index of the first cell in the selection of cells. |
| AnchorRow | Gets the row index of the first cell in the selection of cells. |
| Count | Gets the number of selection of cells. |
| this[int] | Gets an item in the model. |
| LeadColumn | Gets the column index of the farthest cell in the selection of cells. |
| LeadRow | Gets the row index of the farthest cell in the selection of cells. |
| SelectionPolicy | Gets or sets whether users can select ranges of items. |
| Name | Description |
|---|---|
| AddSelection(int, int, int, int) | Adds a cell or cells to the selection. |
| ClearSelection() | Removes the selection. |
| GetEnumerator() | Gets an enumerator that can iterate through the selections. |
| IsAnyCellInColumnSelected(int) | Determines whether any cell in a specified column is in the selection. |
| IsAnyCellInRowSelected(int) | Determines whether any cell in a specified row is in the selection. |
| IsEmpty() | Determines whether the model has no selections. |
| IsSelected(int, int) | Determines whether the specified cell is in the selection. |
| RemoveSelection(int, int, int, int) | Removes the specified selection range from the selection list, if one exists. |
| SetAnchor(int, int) | Specifies the anchor (or first cell) in the selection of cells. |
| SetSelection(int, int, int, int) | Selects the specified cells. |