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

dxSpreadSheetContainsColumn(TRect,Integer) Method

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

#Declaration

Delphi
function dxSpreadSheetContainsColumn(const AArea: TRect; AColumn: Integer): Boolean;

#Parameters

Name Type
AArea TRect
AColumn Integer

#Returns

Type
Boolean

#Remarks

The dxSpreadSheetContainsColumn and dxSpreadSheetContainsRow methods are used to identify whether the specified column and row are included into the indicated area. The dxSpreadSheetContainsColumn function returns True if the column, whose index is specified as the AColumn parameter, passes through the cell range area specified 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