FMX.Grid.Style.TStyledGrid.CellRect
Delphi
function CellRect(const ACol, ARow: Integer): TRect;
C++
System::Types::TRect __fastcall CellRect(const int ACol, const int ARow);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | FMX.Grid.Style.pas FMX.Grid.Style.hpp |
FMX.Grid.Style | TStyledGrid |
説明
指定された行列にあるセルの座標を返します。
ACol
および ARow
は 0 始まりです。 ColumnCount または RowCount に等しい値を指定すると、既存のセルの隣にあたる、まだ存在しないセルの座標を取得することができます。
指定された列番号か行番号が有効なものでなかった場合、CellRect は座標 (-1, -1, -1, -1) を返します。