Class
RowColumnRange

Base class for ranges of rows or columns, tracking start and end indices for selection and operations.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Model

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public abstract class RowColumnRange

Inheritance: objectRowColumnRange

Derived Classes: ColumnRangeRowRange

Constructors

RowColumnRange(int)

Initializes a new instance of the RowColumnRange class.

Declaration

cs-api-definition
protected RowColumnRange(int index)

Parameters

index

int

The index of the range.

RowColumnRange(int, int)

Initializes a new instance of the RowColumnRange class.

Declaration

cs-api-definition
protected RowColumnRange(int from, int to)

Parameters

from

int

The start index of the range.

to

int

The end index of the range.

Properties

FromIndex

Gets the start index of the row or column range.

Declaration

cs-api-definition
public int FromIndex { get; }

Property Value

int

ToIndex

Gets the end index of the row or column range.

Declaration

cs-api-definition
public int ToIndex { get; }

Property Value

int

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

The object to compare with the current object.

Returns

bool

True if the specified object is equal to the current object; otherwise, false.

Overrides object.Equals(object)

GetHashCode()

Serves as a hash function for a particular type.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()