[]
Represents a rectangular group of cells defined by two row indices and two column indices.
public sealed class CellRange
Name | Description |
---|---|
CellRange(int, int) | Creates one CellRange instance. |
CellRange(int, int, int, int) | Creates one CellRange instance. |
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. |
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). |