Event handler signalled to prepare the Canvas for drawing.
Source position: grids.pas line 1279
protected property TCustomGrid.OnPrepareCanvas : TOnPrepareCanvasEvent |
OnPrepareCanvas is a TOnPrepareCanvasEvent property with the event handler signalled to configure the control Canvas to draw a cell using a specific state. OnPrepareCanvas is signalled (when assigned) from the PrepareCanvas method. It allows the Pen, Brush, Font, and Color defaults assigned in PrepareCanvas to be overridden for a specified column, row, or TGridDrawState value.
|
Prepares the canvas for drawing the cell at the specified location. |
|
|
Specifies an event handler signalled when preparing the canvas for a grid control. |
|
|
Enumeration with Grid draw state values. |