[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridCellRange

GridCellRange Class

Defines a cell range from (row1,col1) to (row2,col2).

Inheritance
GridCellRange
Namespace: C1.Blazor.Grid
Assembly: C1.Blazor.Grid.dll
Syntax
public class GridCellRange

Constructors

Name Description
GridCellRange(GridCellRange)

Initializes a new instance of the GridCellRange class.

GridCellRange(int, int)

Initializes a new instance of the GridCellRange class.

GridCellRange(int, int, int, int)

Initializes a new instance of the GridCellRange class.

Properties

Name Description
Cells

Gets the cells in this range.

Column

Gets or sets the left most column.

Column2

Gets or sets the right most column.

ColumnsCount

Gets the number of columns

IsSingleCell

Gets a value that indicates whether this range contains a single cell.

IsSingleColumn

Gets a value that indicates whether this range contains a single column.

IsSingleRow

Gets a value that indicates whether this range contains a single row.

Row

Gets or sets the upper row.

Row2

Gets or sets the bottom row.

RowsCount

Gets the number or rows.

Methods

Name Description
Contains(GridCellRange)

Gets a value that indicates whether this range contains another range.

Contains(int, int)

Gets a value that indicates whether this range contains a given cell.

ContainsColumn(int)

Gets a value that indicates whether this range contains a given column.

ContainsRow(int)

Gets a value that indicates whether this range contains a given row.

Equals(object)

Determines whether the specified object, is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

Intersects(GridCellRange)

Returns true if the ranges intersect.

ToString()

Returns a string that represents this instance.

Operators

Name Description
operator ==(GridCellRange, GridCellRange)

Equality operator for GridCellRange objects.

operator !=(GridCellRange, GridCellRange)

Inequality operator for GridCellRange objects.