TTMSFNCDataGridData.CanMergeCells Method
Checks whether a rectangular block of cells can be merged.
API unit family: TMSFNCDataGridData
Declaring type: TTMSFNCDataGridData
Syntax
function CanMergeCells(AColumn, ARow, AColumnCount, ARowCount: Integer): Boolean;
bool __fastcall CanMergeCells(int AColumn, int ARow, int AColumnCount, int ARowCount);
Parameters
| Name | Description |
|---|---|
AColumn |
Zero-based column of the top-left cell. |
ARow |
Zero-based row of the top-left cell. |
AColumnCount |
Number of columns in the block. |
ARowCount |
Number of rows in the block. |
Returns
True when every cell in the block exists and lies in the same grid region (normal, fixed, or a fixed or frozen corner) as the top-left cell.