CellRange.Intersect(CellRange) Method
Returns the cell range that is the intersection of the current and specified ranges.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v25.1.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| other | CellRange | A cell range to be checked for intersection with current range. |
Returns
| Type | Description |
|---|---|
| CellRange | A cell range that is the intersection of the specified ranges. If ranges do not intersect, null (Nothing in Visual Basic) is returned. |
Remarks
Use the CellRange.IsIntersecting method to check whether ranges intersect.
To check whether a cell range contains another range, use the CellRange.Contains method.
See Also