MobileForms Toolkit Documentation

DrawTrackEventArgs  Constructor 

Initializes a new instance of the DrawTrackEventArgs class.

public DrawTrackEventArgs(
Graphics graphics,
Rectangle bounds,
ScrollBarElementState state,
Rectangle visibleRect,
Rectangle trackRect,
ScrollBarTrackType track
);

Parameters

graphics
Graphics surface to draw on.
bounds
Rectangle that represents the bounds to draw to. Part of it may be under thumb.
state
ScrollBarElementState state.
visibleRect
Rectangle that represents visible area.
trackRect
Rectangle that represents whole track.
track
ScrollBarTrackType that represents which part of track is to be drawn.

See Also

DrawTrackEventArgs Class | Resco.Controls.ScrollBar Namespace