API:FMX.Grid.TGlyphColumn.DefaultDrawCell
Delphi
procedure DefaultDrawCell(const Canvas: TCanvas; const Bounds: TRectF; const Row: Integer; const Value: TValue;
const State: TGridDrawStates); override;
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);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGlyphColumn |
Beschreibung
Zeichnet den Standard-Zellen-Hintergrund.
FMX.Grid.TGlyphColumn.DefaultDrawCell erbt von FMX.Grid.TColumn.DefaultDrawCell. Der folgende Inhalt bezieht sich auf FMX.Grid.TColumn.DefaultDrawCell.
Zeichnet den Standard-Zellen-Hintergrund.
DefaultDrawCell übernimmt die folgenden Parameter:
Canvas
ist die Zeichenfläche, auf der DefaultDrawCell den Zellen-Hintergrund zeichnet.Bounds
gibt die Grenzen der Zelle an.Row
ist die Zeilennummer.Value
ist der Zellen-Wert.State
ist der Zeichenstatus der Zelle.
DrawCell ruft DefaultDrawCell auf, wenn Model.DefaultDrawing True
ist.