Skip to main content
All docs
V19.1
.NET Framework 4.5.2+
Row

Range.Intersect(Range) Method

Returns the cell range that is the intersection of the current and specified ranges.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

Declaration

Range Intersect(
    Range other
)

Parameters

Name Type Description
other Range

A Range object that specifies the cell range to be intersected.

Returns

Type Description
Range

A Range object that is an intersection of two ranges. If ranges do not intersect, null (Nothing in Visual Basic) is returned.

Remarks

To check whether ranges intersect, use the Range.IsIntersecting method.

See Also