Vcl.Grids.TCustomDrawGrid.CellRect
Delphi
function CellRect(ACol, ARow: Longint): TRect;
C++
HIDESBASE System::Types::TRect __fastcall CellRect(int ACol, int ARow);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomDrawGrid |
説明
セルの画面座標値を返します。
CellRect メソッドを呼び出すと,ACol および ARow パラメータで指定された行と列のセルの境界をピクセル単位で取得できます。ACol と ARow が 0 の場合,左上のセルが指定されたことになります。
指定したセルが表示されない場合,CellRect は空の四角形を返します。