Class
SelectionRange

Represents selection range.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Worksheets

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class SelectionRange

Inheritance: objectSelectionRange

Properties

ActiveCellIndex

Gets the index of the active cell.

Declaration

cs-api-definition
public CellIndex ActiveCellIndex { get; }

Property Value

CellIndex

The index of the active cell.

ActivePosition

Gets the active position.

Declaration

cs-api-definition
public CellPosition ActivePosition { get; }

Property Value

CellPosition

The active position.

ActualActivePositionIndex

Gets the actual index of the active position.

Declaration

cs-api-definition
public CellIndex ActualActivePositionIndex { get; }

Property Value

CellIndex

The actual index of the active position.

ActualAnchoredPositionIndex

Gets the actual index of the anchored position.

Declaration

cs-api-definition
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

cs-api-definition
public bool IsColumnRange { get; }

Property Value

bool

The value indicating if the range is column range.

IsRowRange

Gets the value indicating if the range is row range.

Declaration

cs-api-definition
public bool IsRowRange { get; }

Property Value

bool

The value indicating if the range is row range.

SelectedCellRange

Gets the selected cell range.

Declaration

cs-api-definition
public CellRange SelectedCellRange { get; }

Property Value

CellRange

The selected cell range.

Methods

BeginUpdate()

Begins the update.

Declaration

cs-api-definition
public void BeginUpdate()

EndUpdate()

Ends the update.

Declaration

cs-api-definition
public void EndUpdate()

OnRangeChanged()

Called when the range is changed.

Declaration

cs-api-definition
protected virtual void OnRangeChanged()

OnRangeChanging(SelectionRangeChangingEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnRangeChanging(SelectionRangeChangingEventArgs args)

Parameters

args

SelectionRangeChangingEventArgs

The SelectionRangeChangingEventArgs instance containing the event data.

Events

RangeChanged

Occurs when the range is changed.

Declaration

cs-api-definition
public event EventHandler RangeChanged

Event Value

EventHandler

RangeChanging

Occurs when the range is changing.

Declaration

cs-api-definition
public event EventHandler<SelectionRangeChangingEventArgs> RangeChanging

Event Value

EventHandler<SelectionRangeChangingEventArgs>