Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

CellRange.Contains(CellRange) Method

Determines whether the current cell range contains the specified range.

Namespace: DevExpress.Spreadsheet

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

Declaration

bool Contains(
    CellRange other
)

Parameters

Name Type Description
other CellRange

A cell range to be checked.

Returns

Type Description
Boolean

true, if the specified cell range is a part of the current range; otherwise, false.

Remarks

Use the CellRange.IsIntersecting method to check whether the specified cell ranges intersect.

See Also