TaskbarItemInfo::ProgressValue Property
Gets or sets a value that indicates the fullness of the progress indicator in the taskbar button.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::DoubleA value that indicates the fullness of the progress indicator in the taskbar button. The default is 0.
The ProgressValue property is represented as a value between 0.0 and 1.0. Numbers smaller and larger are coerced to be within those bounds. NaN is coerced to 0.
You can communicate the progress of long-running tasks by displaying a progress indicator in a Windows 7 taskbar button. The color of the indicator is determined by the ProgressState property, which contains one of the TaskbarItemProgressState enumeration values. If the ProgressState property is Normal, Paused, or Error, the ProgressValue property determines the fullness of the progress indicator. ProgressValue is ignored for some values of ProgressState. Indeterminate shows a pulsing green indicator across the entire taskbar button. No indicator is shown for None.
The following illustration shows the taskbar progress indicator with a ProgressValue of 82 percent.

Windows Taskbar Progress Indicator
The following example shows how to set the ProgressValue property in code. The value is set in the handler of a BackgroundWorker::ProgressChanged event to indicate the current progress of the background task. This example is part of a larger example provided for the TaskbarItemInfo class.
Available since 4.0