Class SelectionRange
Represents selection range.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.Spreadsheet.Worksheets
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class SelectionRange
Properties
ActiveCellIndex
Gets the index of the active cell.
Declaration
public CellIndex ActiveCellIndex { get; }
Property Value
CellIndex
The index of the active cell. |
ActivePosition
Gets the active position.
Declaration
public CellPosition ActivePosition { get; }
Property Value
CellPosition
The active position. |
ActualActivePositionIndex
Gets the actual index of the active position.
Declaration
public CellIndex ActualActivePositionIndex { get; }
Property Value
CellIndex
The actual index of the active position. |
ActualAnchoredPositionIndex
Gets the actual index of the anchored position.
Declaration
public CellIndex ActualAnchoredPositionIndex { get; }
Property Value
CellIndex
The actual index of the anchored position. |
IsColumnRange
Gets the value indicating if the range is column range.
Declaration
public bool IsColumnRange { get; }
Property Value
System.Boolean
The value indicating if the range is column range. |
IsRowRange
Gets the value indicating if the range is row range.
Declaration
public bool IsRowRange { get; }
Property Value
System.Boolean
The value indicating if the range is row range. |
SelectedCellRange
Gets the selected cell range.
Declaration
public CellRange SelectedCellRange { get; }
Property Value
CellRange
The selected cell range. |
Methods
BeginUpdate()
Begins the update.
Declaration
public void BeginUpdate()
EndUpdate()
Ends the update.
Declaration
public void EndUpdate()
OnRangeChanged()
Called when the range is changed.
Declaration
protected virtual void OnRangeChanged()
OnRangeChanging(SelectionRangeChangingEventArgs)
Raises the RangeChanging event.
Declaration
protected virtual void OnRangeChanging(SelectionRangeChangingEventArgs args)
Parameters
SelectionRangeChangingEventArgs
args
The SelectionRangeChangingEventArgs instance containing the event data. |
Events
RangeChanged
Occurs when the range is changed.
Declaration
public event EventHandler RangeChanged
Event Type
System.EventHandler
|
RangeChanging
Occurs when the range is changing.
Declaration
public event EventHandler<SelectionRangeChangingEventArgs> RangeChanging
Event Type
System.EventHandler<SelectionRangeChangingEventArgs>
|