Skip to main content
Row

CellRange.IsIntersecting(CellRange) Method

Determines whether the current range intersects with the specified range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

bool IsIntersecting(
    CellRange other
)

Parameters

Name Type Description
other CellRange

A cell range to be checked.

Returns

Type Description
Boolean

true if ranges intersect; otherwise, false.

Remarks

Use the CellRange.Intersect method to get the intersection of cell ranges.

To check whether a cell range contains another range, use the CellRange.Contains method.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IsIntersecting(CellRange) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also