TaskbarItemProgressState Enumeration

.NET Framework (current version)
 

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

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

public enum TaskbarItemProgressState

Member nameDescription
Error

A red progress indicator is displayed in the taskbar button.

Indeterminate

A pulsing green indicator is displayed in the taskbar button.

None

No progress indicator is displayed in the taskbar button.

Normal

A green progress indicator is displayed in the taskbar button.

Paused

A 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
Available since 4.0
Return to top
Show: