ProgressbarDeterminate

Progress animation is based on FillMethod of the Full Bar Mask and Full Bar Border.

Options

  • Max int

    Maximum value of the progress.

  • Value int

    Current value of the progress.

  • Full Bar Mask Image

    Image to display progress. Image type should be Filled.

  • Full Bar Border Image

    Border image to display progress. Image type should be Filled.

  • Text Type ProgressbarTextTypes

    How to progress should be displayed as text.

    • None

      Does not display text.

    • Percent

      Show progress as percent like 15%

    • Range

      Show progress as text like 15 / 100

  • Speed float

    Animation speed in the seconds.

  • Speed Type ProgressbarSpeedType

    Specifies how speed should be interpreted.

    • TimeToValueChangedOnOne

      Speed is time to change progress on 1.

    • ConstantSpeed

      Speed is time to change progress from 0 to Max. If value changed from 0 to Max/2 than animation takes speed/2 seconds.

    • ConstantTime

      Speed is time to change progress from current value to new value.

  • Unscaled Time bool

    Run animation with unscaled time.

  • Text Func Func<ProgressbarDeterminateBase, string>

    Custom function to convert progress value to the text. Overwrites Text Type settings.

  • Background Image

    Background image.

  • Empty Bar Image

    Empty bar image.

  • Full Bar Image Image

    Full bar Image.

  • Empty Bar Text Text

    Text to display progress.

  • Full Bar Text Text

    Text to display progress.

Set value

Progressbar.Animate(value);

Stop animation

Progressbar.Stop();