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:
Canvas
is the canvas where DrawBackground 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.
DrawBackground is called before DrawCell.