Class ProgressBarAdvanced
A replacement for the default ProgressBar control.
Inheritance
ProgressBarAdvanced
Implements
Inherited Members
Namespace: Reportman.Drawing.Forms
Assembly: Reportman.Drawing.Forms.dll
Syntax
public class ProgressBarAdvanced : UserControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Constructors
ProgressBarAdvanced()
Create the control and initialize it.
Declaration
public ProgressBarAdvanced()
Properties
Animate
Whether the glow is animated.
Declaration
public bool Animate { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BackgroundColor
The color of the background.
Declaration
public Color BackgroundColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Caption
Declaration
public string Caption { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
EndColor
The end color for the progress bar. 210, 000, 000 = Red 210, 202, 000 = Yellow 000, 163, 211 = Blue 000, 211, 040 = Green
Declaration
public Color EndColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
GlowColor
The color of the glow.
Declaration
public Color GlowColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
HighlightColor
The color of the highlights.
Declaration
public Color HighlightColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
MaxValue
The maximum value for the Value property.
Declaration
public int MaxValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
MinValue
The minimum value for the Value property.
Declaration
public int MinValue { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartColor
The start color for the progress bar. 210, 000, 000 = Red 210, 202, 000 = Yellow 000, 163, 211 = Blue 000, 211, 040 = Green
Declaration
public Color StartColor { get; set; }
Property Value
| Type | Description |
|---|---|
| Color |
Value
The value that is displayed on the progress bar.
Declaration
public int Value { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Dispose(bool)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
Events
MaxChanged
When the MaxValue property is changed.
Declaration
public event ProgressBarAdvanced.MaxChangedHandler MaxChanged
Event Type
| Type | Description |
|---|---|
| ProgressBarAdvanced.MaxChangedHandler |
MinChanged
When the MinValue property is changed.
Declaration
public event ProgressBarAdvanced.MinChangedHandler MinChanged
Event Type
| Type | Description |
|---|---|
| ProgressBarAdvanced.MinChangedHandler |
ValueChanged
When the Value property is changed.
Declaration
public event ProgressBarAdvanced.ValueChangedHandler ValueChanged
Event Type
| Type | Description |
|---|---|
| ProgressBarAdvanced.ValueChangedHandler |