Assembly: Tab;
Namespace: Prognoz.Platform.Interop.Tab;
The ITabSelection interface contains properties and methods for working with selected table region.
ITabSelection
To work with table cells and cell ranges, use properties and methods of the ITabRange interface.
| Property name | Description | |
| FocusedColumn | The FocusedColumn property determines the index of the column, in which the focused cell is located. | |
| FocusedRow | The FocusedRow property determines the index of the row, in which the focused cell is located. | |
| Range | The Range property determines the range of selected cells. | |
| Style | The Style property determines the table cells selection style. |
| Method name | Description | |
| AddRange | The AddRange method adds to the selected range the range, which is passed as the input parameter. | |
| CenterAtView | The CenterAtView method scrolls the table in such a way that the selected range is in the center of the table. | |
| Copy | The Copy method copies the selected area to clipboard. | |
| Cut | The Cut method cuts the data from the selected area to clipboard. | |
| Empty | The Empty method removes all set selection. | |
| Paste | The Paste method inserts data from clipboard to the selected area. | |
| SelectAll | The SelectAll method selects a range of non-empty cells next to active cell/range. | |
| SelectColumns | The SelectColumns method selects table column(s) containing active cell or range (CTRL + SPACE). | |
| SelectRows | The SelectRows method select table row(s) containing active cell or range (SHIFT + SPACE). |
See also: