Skip to main content

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

dxSpreadSheetContainsRow(TRect,Integer) Method

Returns a value indicating whether a row passes through the specified cell range area.

#Declaration

Delphi
function dxSpreadSheetContainsRow(const AArea: TRect; ARow: Integer): Boolean;

#Parameters

Name Type
AArea TRect
ARow Integer

#Returns

Type
Boolean

#Remarks

The dxSpreadSheetContainsRow and dxSpreadSheetContainsColumn methods are used to identify whether the specified row and column are included into the indicated area. The dxSpreadSheetContainsRow function returns True if the row, whose index is specified as the ARow parameter, passes through the cell range area as the AArea parameter. Otherwise, this function returns False.

Note

If you need to check simultaneous inclusion of both the row and column into the specified area, use the dxSpreadSheetContains function instead.

See Also