Occurs when a control needs to repaint track.
The event handler receives an argument of type DrawTrackEventArgs containing data related to this event. The following DrawTrackEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Bounds | Gets the rectangle that represents the bounds to draw to. |
| Graphics | Gets the graphics surface to draw on. |
| State | Gets the ScrollBarElementState of the arrow button. |
| TrackRectangle | Gets the rectangle of the whole track. |
| TrackType | Gets a ScrollBarTrackType type. |
| VisibleRectangle | Gets the visible rectangle for drawing. |
ScrollBar Class | Resco.Controls.ScrollBar Namespace