Occurs before the header of the tooltip is drawn, allowing the developer to customize the display.
Syntax
Event Data
The event handler receives an argument of type UserDrawnHeaderEventArgs containing data related to this event. The following UserDrawnHeaderEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Control | The control that triggered the tooltip. |
| Graphics | A handle to the graphics object responsible for drawing. |
| PaintHeader | Determines if the internal painting routines should draw the header of the tooltip. |
| Rect | A rectangle representing the area being painted in the control. |
| ToolTips | The dbiTipsObject that will be displayed. |
Requirements
Target Platforms: Current Windows operating system with .NET 8.
See Also