FMX.Grid.Style.TStyledGrid.CellRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CellRect(const ACol, ARow: Integer): TRect;

C++

System::Types::TRect __fastcall CellRect(const int ACol, const int ARow);

Properties

Type Visibility Source Unit Parent
function protected
FMX.Grid.Style.pas
FMX.Grid.Style.hpp
FMX.Grid.Style TStyledGrid

Description

Returns the coordinates of the cell at the specified row and column.

ACol and ARow are 0-based. You can specify values equal to ColumnCount or RowCount to get the coordinates of an non-existent cell that is next to an existing cell.

If the specified column number, or the row number, is not valid, CellRect returns coordinates (-1, -1, -1, -1).

See Also