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