Export (0) Print
Expand All

TaskbarItemProgressState Enumeration

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.5.3, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft