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

TdxSpreadSheetMergedCellList.CheckCell(Integer,Integer) Method

Returns the area of a merged cell to which the specified cell belongs.

#Declaration

Delphi
function CheckCell(ARow: Integer; AColumn: Integer): TRect;

#Parameters

Name Type
ARow Integer
AColumn Integer

#Returns

Type
TRect

#Remarks

Call the CheckCell method to identify the merged cell within the Table View worksheet’s collection to which the inspected cell belongs. The ARow and AColumn parameters specify the indexes of the row and column in which the cell is hosted.

If the inspected cell does not belong to the area of a merged cell object within the current collection, the CheckCell method returns the cell’s own row and column indexes as both starting and ending points of the merged cell area.

Alternatively, you can use the overloaded variant of the ExpandArea function for the same purpose.

See Also