Class SelectionState
Represents the state of the selection in the worksheet.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class SelectionState
Constructors
SelectionState(IEnumerable<CellRange>, CellIndex, ViewportPaneType)
Initializes a new instance of the SelectionState class.
Declaration
public SelectionState(IEnumerable<CellRange> selectedRanges, CellIndex activeCellIndex, ViewportPaneType pane)
Parameters
System.Collections.Generic.IEnumerable<CellRange>
selectedRanges
The selected ranges. |
CellIndex
activeCellIndex
Index of the active cell. |
ViewportPaneType
pane
The pane. |
Properties
ActiveCellIndex
Gets the index of the active cell.
Declaration
public CellIndex ActiveCellIndex { get; }
Property Value
CellIndex
The index of the active cell. |
Pane
Gets the pane.
Declaration
public ViewportPaneType Pane { get; }
Property Value
ViewportPaneType
The pane. |
SelectedRanges
Gets the selected ranges.
Declaration
public IEnumerable<CellRange> SelectedRanges { get; }
Property Value
System.Collections.Generic.IEnumerable<CellRange>
The selected ranges. |
Methods
Clone()
Clones this instance.
Declaration
public SelectionState Clone()
Returns
SelectionState
The cloned selection state. |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents the current System.Object. |