Back to Devexpress

CellRange.Contains(CellRange) Method

officefileapi-devexpress-dot-spreadsheet-dot-cellrange-dot-contains-x28-devexpress-dot-spreadsheet-dot-cellrange-x29.md

latest1.7 KB
Original Source

CellRange.Contains(CellRange) Method

Determines whether the current cell range contains the specified range.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
bool Contains(
    CellRange other
)
vb
Function Contains(
    other As CellRange
) As Boolean

Parameters

NameTypeDescription
otherCellRange

A cell range to be checked.

|

Returns

TypeDescription
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

IsIntersecting(CellRange)

CellRange Interface

CellRange Members

DevExpress.Spreadsheet Namespace