The CellRange type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
CellRange(UIElement) | |
|
|
CellRange(Int32, Int32) |
Initializes a new instance of a CellRange containing a single cell.
|
|
|
CellRange(Int32, Int32, Int32, Int32) |
Initializes a new instance of a CellRange.
|
Methods
| Name | Description | |
|---|---|---|
|
|
Contains(CellRange) |
Gets a value that indicates whether this range contains another range.
|
|
|
Contains(Int32, Int32) |
Gets a value that indicates whether this range contains a given cell.
|
|
|
ContainsColumn |
Gets a value that indicates whether this range contains a given column.
|
|
|
ContainsRow |
Gets a value that indicates whether this range contains a given row.
|
|
|
Equals |
Indicates whether this instance and a specified object are equal.
(Overrides ValueType..::..Equals(Object).) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
|
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueType..::..GetHashCode()()()().) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
Intersection |
Gets a CellRange that represents the intersection of this range
with a given range.
|
|
|
Intersects |
Gets a value that indicates whether this range intersects with a given range.
|
|
|
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
|
Normalize | |
|
|
SetRange(Int32, Int32) | |
|
|
SetRange(Int32, Int32, Int32, Int32) | |
|
|
ToString |
Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
|
|
Union |
Gets a CellRange that represents the union of this range
with a given range.
|
Operators
| Name | Description | |
|---|---|---|
|
|
Equality |
Equality operator for CellRange objects.
|
|
|
Inequality |
Inequality operator for CellRange objects.
|
Properties
| Name | Description | |
|---|---|---|
|
|
BottomRow |
Gets the index of the bottom row in this CellRange.
|
|
|
Cells |
Gets an IEnumerable that can be used to
iterate over the cells in this CellRange.
|
|
|
Column |
Gets or sets the index of the first column in this CellRange.
|
|
|
Column2 |
Gets or sets the index of the last column in this CellRange.
|
|
|
ColumnSpan |
Gets or sets the number of columns in CellRange.
|
|
|
Empty |
Gets a special value that represents an invalid range.
|
|
|
IsSingleCell |
Gets a value that indicates whether this range contains a single cell.
|
|
|
IsValid |
Gets a value that indicates whether this range is valid.
|
|
|
LeftColumn |
Gets the index of the left column in this CellRange.
|
|
|
RightColumn |
Gets the index of the right column in this CellRange.
|
|
|
Row |
Gets or sets the index of the first row in this CellRange.
|
|
|
Row2 |
Gets or sets the index of the last row in this CellRange.
|
|
|
RowSpan |
Gets or sets the number of rows in CellRange.
|
|
|
TopRow |
Gets the index of the top row in this CellRange.
|