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 ;
Eigenschaften
| Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
|---|---|---|---|---|
procedure function |
public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | IDrawableCellEx |
Beschreibung
Zeichnet den Zellen-Hintergrund.
DrawBackground übernimmt die folgenden Parameter:
Canvasist die Zeichenfläche, auf der DrawBackground den Zellen-Hintergrund zeichnet.Boundsgibt die Grenzen der Zelle an.Rowist die Zeilennummer.Valueist der Zellen-Wert.Stateist der Zeichenstatus der Zelle.
DrawBackground wird vor DrawCell aufgerufen.