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