MobileForms Toolkit Documentation

ScrollBar.DrawTrack Event

Occurs when a control needs to repaint track.

public event DrawTrackHandler DrawTrack;

Event Data

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.

See Also

ScrollBar Class | Resco.Controls.ScrollBar Namespace