[]
        
(Showing Draft Content)

C1.Web.Mvc.Grid.CellRange

CellRange Class

Represents a rectangular group of cells defined by two row indices and two column indices.

Inheritance
CellRange
Namespace: C1.Web.Mvc.Grid
Assembly: C1.Web.Mvc.dll
Syntax
public sealed class CellRange

Constructors

Name Description
CellRange(int, int)

Creates one CellRange instance.

CellRange(int, int, int, int)

Creates one CellRange instance.

Properties

Name Description
Col

Gets or sets the index of the first column in this range.

Col2

Gets or sets the index of the second column in this range.

Row

Gets or sets the index of the first row in this range.

Row2

Gets or sets the index of the second row in this range.

Methods

Name Description
Clone()

Clones a copy of current CellRange.

Equals(object)

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

GetHashCode()

Serves as a hash function for CellRange.

IsValid()

Checks whether this range contains valid row and column indices (> -1).