Objective Grid for Microsoft® .NET® Reference Guide

Range Class

Back to Class Index

This class represents a range of cells, rows, columns, or an entire table.

For a list of all members of this type, see Range Members.

System.Object
   Range

[Visual Basic]
Public Class Range
Implements ICloneable, ISerializable
[C#]
public class Range : ICloneable, ISerializable

Remarks

Ranges that reference an arbitrary range of cells can become invalid if the size of the table changes such that the range references non-existent cells. Ranges that represent ranges of rows or columns are invalidated if any of the referenced rows or columns are removed. However, ranges of rows are not affected by changes to the number of columns.

Similarly, ranges of columns are not affected by changes to the number of rows. A range that references the entire table is not affected by a change to the size of the table. It references the entire table regardless of its size.

Range objects are used in methods that manipulate more than one grid cell in one operation, such as GridControl.SetStyleRange, GridControl.RedrawRowCol, GridControl.CopyCells, and many others.

Requirements

Namespace: Stingray.Grid

Assemblies: Stingray.GridControl80 (in Stingray.GridControl80.dll)
                     Stingray.GridControl90 (in Stingray.GridControl90.dll)
                     Stingray.GridControl10 (in Stingray.GridControl10.dll)

See Also

Range Members | Stingray.Grid Namespace