FMX.Grid.TGridModel.OnDrawColumnHeader
Delphi
property OnDrawColumnHeader: TDrawColumnHeaderEvent read FOnDrawColumnHeader write FOnDrawColumnHeader;
C++
__property TDrawColumnHeaderEvent OnDrawColumnHeader = {read=FOnDrawColumnHeader, write=FOnDrawColumnHeader};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | public | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGridModel |
Description
Occurs when the presentation needs to draw a column header, and allows you to draw the column header yourself to customize it.
The handler of OnDrawColumnHeader receives the following parameters:
Senderis the presentation object that owns this model.Canvasis the canvas where you can draw.Columnis the column that contains the header.Boundsindicates the header boundaries.