FMX.Grid.TColumn.DrawBackground
Delphi
procedure DrawBackground(const Canvas: TCanvas; const Bounds: TRectF; const Row: Integer; const Value: TValue;
const State: TGridDrawStates); virtual;
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);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
protected | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TColumn |
Description
Draws the cell background.
FMX.Grid.TColumn.DrawBackground inherits from FMX.Grid.IDrawableCellEx.DrawBackground. All content below this line refers to FMX.Grid.IDrawableCellEx.DrawBackground.
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.