[]
        
(Showing Draft Content)

C1.Blazor.Grid.GridControlRange

GridControlRange Class

Represents a range of cells

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

Constructors

Name Description
GridControlRange(GridControlRange)

Initializes a new instance of GridControlRange from another range.

GridControlRange(int, int)

Initializes a new instance of GridControlRange from a single cell specified by row and column.

GridControlRange(int, int, int, int)

Initializes a new instance of GridControlRange.

Properties

Name Description
Cells

Gets all the cells in the range.

Column

Gets the starting column.

Columns

Gets the indexes of the contained columns.

ColumnsCount

Gets the number of columns.

Empty

Empty range.

IsEmpty

Returns true if it is an empty range.

IsSingleCell

Returns true if it is a single cell.

IsSingleColumn

Returns true if it is a single column.

IsSingleRow

Returns true if it is a single row.

Row

Gets the starting row.

Rows

Gets the indexes of the contained rows.

RowsCount

Gets the number of rows.

Methods

Name Description
ContainsColumn(int)

Returns true if this range contains the specified column.

ContainsRow(int)

Returns true if this range contains the specified row.

Equals(object)
GetHashCode()
Intersection(GridControlRange)

Returns the intersection between this and a specified range.

Intersects(GridControlRange)

Returns true if this range is intersected by the specified range.

SubstractColumns(GridControlRange)

Returns a range after subtracting the columns of the specified range.

SubstractRows(GridControlRange)

Returns a range after subtracting the rows of the specified range.

ToString()
Union(GridControlRange)

Returns a range that is the union of both ranges.

Operators

Name Description
operator ==(GridControlRange, GridControlRange)
operator !=(GridControlRange, GridControlRange)