CellRange.Intersect(CellRange) Method
In This Article
Returns the cell range that is the intersection of the current and specified ranges.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
other | Cell |
A cell range to be checked for intersection with current range. |
#Returns
Type | Description |
---|---|
Cell |
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