Fires before each line segment of a character is drawn.
Syntax
Event Data
The event handler receives an argument of type BeforeLineSegmentDrawnEventArgs containing data related to this event. The following BeforeLineSegmentDrawnEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Character | The character the line segment is being drawn for. |
| LineSegment | The line segment being drawn. |
| Position | The index of the character within the control's Text property. |
| SegmentColor | The color used to paint the current line segment |
Remarks
Requirements
Target Platforms: Current Windows operating system with .NET 8.
See Also