[]
Defines a cell range from (row1,col1) to (row2,col2).
public class GridCellRange
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. |
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. |
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. |
Name | Description |
---|---|
operator ==(GridCellRange, GridCellRange) | Equality operator for GridCellRange objects. |
operator !=(GridCellRange, GridCellRange) | Inequality operator for GridCellRange objects. |