Class ProgressBar
ProgressBar control
public class ProgressBar : Control, ICloneable
- Inheritance
-
objectProgressBar
- Implements
- Inherited Members
Constructors
ProgressBar()
public ProgressBar()
Fields
ColorBackground
Used for XML serialization.
public XColor ColorBackground
Field Value
ColorFill
Used for XML serialization.
public XColor ColorFill
Field Value
ColorFillLow
Used for XML serialization.
public XColor ColorFillLow
Field Value
Properties
BackgroundColor
A custom tint for the area behind the bar; leave transparent to use the default state colors
public Color BackgroundColor { get; set; }
Property Value
FillColor
public Color FillColor { get; set; }
Property Value
FillColorLow
public Color FillColorLow { get; set; }
Property Value
Max
The upper end of the range displayed by the bar
public float Max { get; set; }
Property Value
Min
The lower end of the range displayed by the bar
public float Min { get; set; }
Property Value
Reversed
Fill the bar from right to left instead of from left to right
public bool Reversed { get; set; }
Property Value
Value
The current value of the control
public float Value { get; set; }
Property Value
Methods
Clone()
Creates a deep copy of this instance.
public override Control Clone()
Returns
CloneFromTo(ProgressBar, ProgressBar)
Copies all members declared by ProgressBar from one instance to another.
protected static void CloneFromTo(ProgressBar from, ProgressBar to)
Parameters
fromProgressBartoProgressBar
CloneProgressBar()
Creates a deep copy of this ProgressBar instance.
public ProgressBar CloneProgressBar()
Returns
- ProgressBar
The new copy of the ProgressBar.
ShouldSerializeColorBackground()
Used for XML serialization.
public bool ShouldSerializeColorBackground()
Returns
ShouldSerializeColorFillLow()
Used for XML serialization.
public bool ShouldSerializeColorFillLow()