API:FMX.Grid.TGrid.OnDrawColumnHeader
Delphi
property OnDrawColumnHeader: TDrawColumnHeaderEvent read FOnDrawColumnHeader write FOnDrawColumnHeader;
C++
__property OnDrawColumnHeader;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | FMX.Grid.pas FMX.Grid.hpp |
FMX.Grid | TGrid |
Description
Occurs when the grid needs to paint a header of a column. {{#multireplace:FMX.Grid.TGrid.OnDrawColumnHeader|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:FMX.Grid.TCustomGrid.OnDrawColumnHeader|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:FMX.Grid.TCustomGrid.OnDrawColumnHeader|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs when the grid needs to paint a header of a column.
Write an OnDrawColumnHeader event handler to provide customized drawing for the headers of the grid.