Occurs just before any text is written at a major tick line.
Syntax
Event Data
The event handler receives an argument of type UserDrawnTextEventArgs containing data related to this event. The following UserDrawnTextEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Count | The current major tick getting text drawn. |
| Font | The font used for drawing the text. |
| ForeColor | The color used to paint the text. |
| Gauge | The gauge displaying the text. |
| Index | The index value of the gauge displaying the text. |
| Text | The text that will be displayed. |
| TextOffset | The offset used to calculate the location of the text. |
| Value | The value representated by the major tick mark. |
Requirements
Target Platforms: Current Windows operating system with .NET 8.
See Also