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
Cell The index of the active cell. |
ActivePosition
Gets the active position.
Declaration
public CellPosition ActivePosition { get; }
Property Value
Cell The active position. |
ActualActivePositionIndex
Gets the actual index of the active position.
Declaration
public CellIndex ActualActivePositionIndex { get; }
Property Value
Cell The actual index of the active position. |
ActualAnchoredPositionIndex
Gets the actual index of the anchored position.
Declaration
public CellIndex ActualAnchoredPositionIndex { get; }
Property Value
Cell 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. 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. The value indicating if the range is row range. |
SelectedCellRange
Gets the selected cell range.
Declaration
public CellRange SelectedCellRange { get; }
Property Value
Cell 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 Range
Declaration
protected virtual void OnRangeChanging(SelectionRangeChangingEventArgs args)
Parameters
Selection The Selection |
Events
RangeChanged
Occurs when the range is changed.
Declaration
public event EventHandler RangeChanged
Event Type
System.
|
RangeChanging
Occurs when the range is changing.
Declaration
public event EventHandler<SelectionRangeChangingEventArgs> RangeChanging
Event Type
System.
|