MobileForms Toolkit Documentation

ProgressBar.DrawBackground Event

Occurs when a control needs to repaint background.

public event DrawBackgroundHandler DrawBackground;

Event Data

The event handler receives an argument of type DrawEventArgs containing data related to this event. The following DrawEventArgs 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.

Remarks

To draw your own border, set BorderStyle property to None and draw your border here.

See Also

ProgressBar Class | Resco.Controls.ProgressBar Namespace