Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CellRange.Contains(CellRange) Method

Determines whether the current cell range contains the specified range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.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