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:
Sender
is the presentation object that owns this model.Canvas
is the canvas where you can draw.Column
is the column that contains the header.Bounds
indicates the header boundaries.