Skip to content

ProgressBar

Javier Suárez edited this page Aug 24, 2020 · 3 revisions

ProgressBar

Represents progress as a horizontal bar that is filled to a percentage represented by a float value.

Features

  • Can customize the color of the progress, background, etc.
  • ControlTemplate support.

Using the control

To define the progress we use the Progress property. Is a float value that represents the current progress as a value from 0 to 1. Progress values less than 0 will be clamped to 0, values greater than 1 will be clamped to 1.

To define the progress color we can use the ProgressColor property that affects the interior bar color representing the current progress.

<controls:ProgressBar
    Progress="0.5"
    ProgressColor="MediumSeaGreen"/>
Clone this wiki locally