Objective Grid for Microsoft® .NET® Reference Guide

Range Members

Back to Class Index

Range overview

Public Static (Shared) Methods

Cell Creates a range referencing one cell.
Cells Creates an arbitrary range of cells.
Col Creates a range of one column.
Cols Creates a range of columns.
FromLTRB Creates a range from left, top, right, and bottom row and column indexes.
IntersectRangeOverloaded. Determines if two ranges intersect.
InvalidRange Returns an empty range.
Row Returns a range consisting of one row.
Rows Returns a range of the specified rows.
Table Creates a range that references an entire table.
UnionRangeOverloaded. Calculates the union of two ranges.

Public Instance Constructors

RangeOverloaded. Initializes a new instance of the Range class.

Public Instance Properties

Bottom Gets the bottom row in the range.
Height Gets the height, in rows, of the range.
IsCells Returns true if this is an arbitrary range of cells.
IsCols Returns true if this is a range of columns.
IsRows Returns true if this is a range of rows.
IsTable Returns true if this range references an entire table.
IsValid Returns true if and only if this range is valid.
Left Gets the leftmost column in the range.
RangeType Gets the type of range as a RangeType enumeration.
Right Gets the rightmost column in the range.
Top Gets the topmost row in the range.
Width Gets the width, in columns, of the range.

Public Instance Methods

Clone Creates a copy of this Range.
Equals Determines if this range is equal to another range.
ExpandRange Sets the range based on the top, left corner of the range, and the number of rows and columns in the range.
GetFirstCell Gets the first cell in a range.
GetHashCode Calculates the hash code for this range.
GetNextCellOverloaded. Gets the next cell in a range in row order.
GetObjectData FOR INTERNAL USE ONLY.
GetType (inherited from Object)Gets the Type of the current instance.
InsertCols Inserts columns into a range at a specified starting location.
InsertRows Inserts rows into the range at the specified location.
IntersectRangeOverloaded. Determines if this range intersects with a specified range.
IsCellInRange Returns true if and only if a specified cell coordinate is within this range.
ToString FOR INTERNAL USE ONLY.
UnionRangeOverloaded. Calculates the union of this range with another range.

Protected Instance Constructors

RangeOverloaded. Initializes a new instance of the Range class.

Protected Instance Fields

bottom bottom bound
bValid Determines if the range is valid.
left left bound
rangeType The type of range.
right right bound
top top bound

Protected Instance Methods

Finalize Destructor
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

Range Class | Stingray.Grid Namespace