Vcl.Grids.TDrawCellEvent
C++
typedef void __fastcall (__closure *TDrawCellEvent)(System::TObject* Sender, int ACol, int ARow, const System::Types::TRect &Rect, TGridDrawState State);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
typedef | public | Vcl.Grids.hpp | Vcl.Grids | Vcl.Grids |
Description
Function type for OnDrawCell event.
TDrawCellEvent is the function type for a OnDrawCell event. Its parameters are described in this table.
Parameter | Meaning |
---|---|
Sender |
Grid in which cell is being drawn. |
ACol, ARow |
Column and row indexes of the cell being drawn. |
Rect |
Location of cell on canvas. |
State |
TGridDrawState that indicates whether the cell has input focus, whether the cell is selected, and whether the cell is a fixed (nonscrolling) cell. |