-
Notifications
You must be signed in to change notification settings - Fork 47
ProgressBar
Javier Suárez edited this page Aug 24, 2020
·
3 revisions
Represents progress as a horizontal bar that is filled to a percentage represented by a float value.
- Can customize the color of the progress, background, etc.
- ControlTemplate support.
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"/>