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 ;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | IDrawableCellEx |
Description
Draws the cell background.
DrawBackground receives the following parameters:
Canvasis the canvas where DrawBackground paints the cell background.Boundsindicates the cell boundaries.Rowis the row number.Valueis the cell value.Stateis the drawing state of the cell.
DrawBackground is called before DrawCell.