ProgressbarDeterminate
Progress animation is based on FillMethod of the Full Bar Mask and Full Bar Border.
Options
Max
intMaximum value of the progress.
Value
intCurrent value of the progress.
Full Bar Mask
ImageImage to display progress. Image type should be
Filled.Full Bar Border
ImageBorder image to display progress. Image type should be
Filled.Text Type
ProgressbarTextTypesHow to progress should be displayed as text.
NoneDoes not display text.
PercentShow progress as percent like 15%
RangeShow progress as text like 15 / 100
Speed
floatAnimation speed in the seconds.
Speed Type
ProgressbarSpeedTypeSpecifies how speed should be interpreted.
TimeToValueChangedOnOneSpeed is time to change progress on 1.
ConstantSpeedSpeed is time to change progress from 0 to Max. If value changed from 0 to Max/2 than animation takes speed/2 seconds.
ConstantTimeSpeed is time to change progress from current value to new value.
Unscaled Time
boolRun animation with unscaled time.
Text Func
Func<ProgressbarDeterminateBase, string>Custom function to convert progress value to the text. Overwrites Text Type settings.
Background
ImageBackground image.
Empty Bar
ImageEmpty bar image.
Full Bar Image
ImageFull bar Image.
Empty Bar Text
TextText to display progress.
Full Bar Text
TextText to display progress.
Set value
Progressbar.Animate(value);
Stop animation
Progressbar.Stop();