FMX.Grid.TStringGrid.OnDrawColumnBackground

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnDrawColumnBackground: TDrawColumnCellEvent read GetOnDrawColumnBackground write SetOnDrawColumnBackground;

C++

__property OnDrawColumnBackground;

Properties

Type Visibility Source Unit Parent
event published
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TStringGrid

Description

Occurs when the background of a cell needs to be drawn.

FMX.Grid.TStringGrid.OnDrawColumnBackground inherits from FMX.Grid.TCustomGrid.OnDrawColumnBackground. All content below this line refers to FMX.Grid.TCustomGrid.OnDrawColumnBackground.

Occurs when the background of a cell needs to be drawn.

You can use this event to draw the background of cells yourself, to override the default cell background.

See Also