New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public abstract class RowColumnRange

Inheritance: objectRowColumnRange

Derived Classes: ColumnRangeRowRange

Constructors

Initializes a new instance of the RowColumnRange class.

C#
protected RowColumnRange(int from, int to)
Parameters:fromint

The start index of the range.

toint

The end index of the range.

Initializes a new instance of the RowColumnRange class.

C#
protected RowColumnRange(int index)
Parameters:indexint

The index of the range.

Methods

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

C#
public override bool Equals(object obj)
Parameters:objobject

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)

Serves as a hash function for a particular type.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Properties

Gets the start index of the row or column range.

C#
public int FromIndex { get; }

Gets the end index of the row or column range.

C#
public int ToIndex { get; }