This event fires when the
ThumbStyle Property is set to
UserDrawn and the thumb needs to be drawn.
Syntax
Event Data
The event handler receives an argument of type UserDrawnThumbEventArgs containing data related to this event. The following UserDrawnThumbEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Graphics | handle to the Graphics object responsible for the drawing. |
| Rect | The rectangle representing the size and location of the area for thumb. |
| ThumbStatus | Determines if the thumb is currently being held down by the mouse. |
Requirements
Target Platforms: Current Windows operating system with .NET 8.
See Also