FMX.Grid.TColumn.DefaultDrawCell
Delphi
procedure DefaultDrawCell(const Canvas: TCanvas; const Bounds: TRectF; const Row: Integer; const Value: TValue; const State: TGridDrawStates); virtual;
C++
virtual void __fastcall DefaultDrawCell(Fmx::Graphics::TCanvas* const Canvas, const System::Types::TRectF &Bounds, const int Row, const System::Rtti::TValue &Value, const TGridDrawStates State);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
procedure function |
public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TColumn |
説明
デフォルトのセル背景を描画します。
DefaultDrawCell は、次のパラメータを受け取ります:
Canvas
はキャンバスで、DefaultDrawCell はセルの背景を描画します。Bounds
は、セルの境界線を示します。Row
は行番号。Value
はセル値です。State
はセルの描画状態を表します。
DrawCell は、DefaultDrawCell を、Model.DefaultDrawing が True
の場合に呼び出します。