FMX.Grid.TImageColumn.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 | TImageColumn |
Description
Draws the default cell background.
FMX.Grid.TImageColumn.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:
Canvasis the canvas where DefaultDrawCell paints the cell background.Boundsindicates the cell boundaries.Rowis the row number.Valueis the cell value.Stateis the drawing state of the cell.
DrawCell calls DefaultDrawCell if Model.DefaultDrawing is True.