MobileForms Toolkit Documentation

ScrollBarTrack.Draw Method 

Draws ScrollBar's track.

public void Draw(
Graphics gr,
Rectangle drawRect,
Rectangle visibleRect,
Rectangle trackRect,
ScrollBarTrackType type,
ScrollBarOrientation orientation,
Color parentColor
);

Parameters

gr
Graphics surface to draw on.
drawRect
Rectangle to draw in. Part of this rectangle may be under thumb.
visibleRect
Fully visible Rectangle to draw in.
trackRect
A Rectangle of the whole track (low and high parts together).
type
ScrollBarTrackType type of the track.
orientation
ScrollBar.ScrollBarOrientation of the track.
parentColor
Color used to draw transparent corners.

Remarks

parentColor parameter should be a BackColor of this control's parent.

See Also

ScrollBarTrack Class | Resco.Controls.ScrollBar Namespace