Vcl.Grids.TDrawCellEvent
Delphi
TDrawCellEvent = procedure (Sender: TObject; ACol, ARow: Longint;
Rect: TRect; State: TGridDrawState) of object;
C++
typedef void __fastcall (__closure *TDrawCellEvent)(System::TObject* Sender, int ACol, int ARow, const System::Types::TRect &Rect, TGridDrawState State);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
type typedef |
public | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | Vcl.Grids |
説明
OnDrawCell イベントの関数型です。
TDrawCellEvent は OnDrawCell イベントの関数型です。TDrawCellEvent のパラメータを以下の表に示します。
パラメータ | 意味 |
---|---|
Sender |
セルが描画されるグリッド。 |
ACol, ARow |
描画されるセルの列および行のインデックス。 |
Rect |
キャンバス上のセルの位置 |
State |
セルに入力フォーカスがあるかどうか、セルが選択されているかどうか、および固定された(スクロールしない)セルであるかどうかを示す TGridDrawState。 |