Class ProgressBar
Represents a progress bar control in the user interface.
Assembly: MicroLayout.dll
View Source
Declaration
public class ProgressBar : ThemedControl, IThemedControl, IControl
Inheritance: System.Object
-> Meadow.Foundation.Graphics.MicroLayout.Control
Implements:
Meadow.Foundation.Graphics.MicroLayout.IThemedControl
Properties
Value
Gets or set the Value for the ProgressBar
View Source
Declaration
public int Value { get; set; }
Minimum
Gets or set the minimum Value for the ProgressBar
View Source
Declaration
public int Minimum { get; set; }
Maximum
Gets or set the maximum Value for the ProgressBar
View Source
Declaration
public int Maximum { get; set; }
ValueColor
Gets or sets the foreground (value) color to fill on the ProgressBar
View Source
Declaration
public Color ValueColor { get; set; }
BackColor
Gets or sets the background (non-value) color to fill on the ProgressBar
View Source
Declaration
public Color BackColor { get; set; }
BorderColor
Gets or sets the border color to around the ProgressBar
View Source
Declaration
public Color BorderColor { get; set; }
Methods
ApplyTheme(DisplayTheme)
Applies the specified display theme to the control.
View Source
Declaration
public override void ApplyTheme(DisplayTheme theme)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroLayout.DisplayTheme | theme | The display theme to apply. |
OnDraw(MicroGraphics)
Performs the actual drawing of the control on the specified Meadow.Foundation.Graphics.MicroGraphics surface. This method must be implemented in derived classes.
View Source
Declaration
protected override void OnDraw(MicroGraphics graphics)
Parameters
Type | Name | Description |
---|---|---|
Meadow.Foundation.Graphics.MicroGraphics surface to draw the control on. |