Skip to main content
Row

CellRange.Contains(CellRange) Method

Determines whether the current cell range contains the specified range.

Namespace: DevExpress.Spreadsheet

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

NuGet Package: DevExpress.Spreadsheet.Core

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