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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGlyphColumn |
Description
Draws the default cell background.
FMX.Grid.TGlyphColumn.DefaultDrawCell inherits from FMX.Grid.TColumn.DefaultDrawCell. All content below this line refers to FMX.Grid.TColumn.DefaultDrawCell.
Draws the default cell background.
DefaultDrawCell receives the following parameters:
Canvas
is the canvas where DefaultDrawCell paints the cell background.Bounds
indicates the cell boundaries.Row
is the row number.Value
is the cell value.State
is the drawing state of the cell.
DrawCell calls DefaultDrawCell if Model.DefaultDrawing is True
.