FMX.Grid.TGrid.OnDrawColumnCell
Delphi
property OnDrawColumnCell: TDrawColumnCellEvent read FOnDrawColumnCell write FOnDrawColumnCell;
C++
__property OnDrawColumnCell;
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 cell.
FMX.Grid.TGrid.OnDrawColumnCell inherits from FMX.Grid.TCustomGrid.OnDrawColumnCell. All content below this line refers to FMX.Grid.TCustomGrid.OnDrawColumnCell.
Occurs when the grid needs to paint a cell.
Write an OnDrawColumnCell event handler to provide customized drawing for the data in the cells of the grid.
If the DefaultDrawing property is set to True, the cell will be drawn before the OnDrawColumnCell event. If it is set to False, the grid doesn't draw anything.
Also, in this event handler it is possible to call the DefaultDrawColumnCell method to process default drawing. It can be useful if DefaultDrawing is set to False and you need to draw something before the default drawing.