FMX.Grid.TCustomGrid.CellRect

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット
function public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TCustomGrid


説明

指定された行列にあるセルの座標を返します。

ACol および ARow は 0 始まりです。ColumnCount または RowCount に等しい値を指定すると、既存のセルの隣にあたる、まだ存在しないセルの座標を取得することができます。

指定された列番号や行番号が有効ではない場合、CellRect は座標 (-1, -1, -1, -1) を返します。

関連項目