Edytuj

Udostępnij za pośrednictwem


TaskbarItemProgressState Enum

Definition

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

public enum class TaskbarItemProgressState
public enum TaskbarItemProgressState
type TaskbarItemProgressState = 
Public Enum TaskbarItemProgressState
Inheritance
TaskbarItemProgressState

Fields

Name Value Description
None 0

No progress indicator is displayed in the taskbar button.

Indeterminate 1

A pulsing green indicator is displayed in the taskbar button.

Normal 2

A green progress indicator is displayed in the taskbar button.

Error 3

A red progress indicator is displayed in the taskbar button.

Paused 4

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.

Applies to