Skip to main content
Table of Contents

TTMSFNCDataGrid.IsCellSelected Method

Returns True when the cell is part of the current selection.

API unit family: TMSFNCDataGrid Declaring type: TTMSFNCDataGrid Inherited from: TTMSFNCCustomDataGrid

Syntax

FMX.TMSFNCDataGrid.hppPascalC++
function IsCellSelected(ACell: TTMSFNCDataGridCellCoord): Boolean;
bool __fastcall IsCellSelected(const TTMSFNCDataGridCellCoord &ACell);

Parameters

Name Description
ACell Cell coordinate to test.

Returns

For disjunct selection modes, the flag in SelectedCells, SelectedRows or SelectedColumns; for range modes, whether the cell lies inside Selection.