TaskbarItemProgressState Enumeration

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

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Enumeration TaskbarItemProgressState
public enum TaskbarItemProgressState
public enum class TaskbarItemProgressState
type TaskbarItemProgressState
public enum TaskbarItemProgressState

Members

Member name Description
None No progress indicator is displayed in the taskbar button.
Indeterminate A pulsing green indicator is displayed in the taskbar button.
Normal A green progress indicator is displayed in the taskbar button.
Error A red progress indicator is displayed in the taskbar button.
Paused A yellow progress indicator is displayed in the taskbar button.

Remarks

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.

See Also

Reference

Microsoft.Windows.Shell Namespace