Export (0) Print
Expand All

TaskbarItemProgressState Enumeration

.NET Framework 4.6 and 4.5

Specifies the state of the progress indicator in the Windows taskbar.

Namespace:  System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.dll)

public enum TaskbarItemProgressState
<object property="enumerationMemberName" .../>

Member nameDescription
ErrorA red progress indicator is displayed in the taskbar button.
IndeterminateA pulsing green indicator is displayed in the taskbar button.
NoneNo progress indicator is displayed in the taskbar button.
NormalA green progress indicator is displayed in the taskbar button.
PausedA yellow progress indicator is displayed in the taskbar button.

You can communicate the progress of long-running tasks by displaying a progress indicator in the Windows 7 taskbar. The color of the indicator is determined by the ProgressState property, which contains one of the TaskbarItemProgressState enumeration values. If the TaskbarItemProgressState is Normal, Paused, or Error, the ProgressValue property determines the completeness of the progress indicator. ProgressValue is ignored for other values of ProgressState.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft