Back to Devexpress

TaskbarAssistant.ProgressMode Property

windowsforms-devexpress-dot-utils-dot-taskbar-dot-taskbarassistant-01d3aedc.md

latest3.0 KB
Original Source

TaskbarAssistant.ProgressMode Property

Gets or sets the type of progress indicator within the taskbar button.

Namespace : DevExpress.Utils.Taskbar

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DefaultValue(TaskbarButtonProgressMode.NoProgress)]
[DXCategory("Behavior")]
public TaskbarButtonProgressMode ProgressMode { get; set; }
vb
<DefaultValue(TaskbarButtonProgressMode.NoProgress)>
<DXCategory("Behavior")>
Public Property ProgressMode As TaskbarButtonProgressMode

Property Value

TypeDefaultDescription
TaskbarButtonProgressModeNoProgress

A value that specifies the type of progress indicator within the taskbar button.

|

Available values:

NameDescription
NoProgress

Stops displaying progress and returns the button to its regular state.

| | Indeterminate |

An indeterminate marquee-style progress indicator, which cycles repeatedly along the length of the taskbar button.

| | Normal |

The determinate progress indicator that grows in size from left to right. Advance the progress value with the TaskbarAssistant.ProgressCurrentValue property.

| | Error |

The same as the Normal mode, but the progress bar turns red to indicate that an error has occurred.

| | Paused |

The same as the Normal mode, but the progress turns yellow to indicate that progress is currently stopped.

|

Remarks

See TaskbarButtonProgressMode topic for information on available modes.

See Also

ProgressCurrentValue

ProgressMaximumValue

TaskbarAssistant Class

TaskbarAssistant Members

DevExpress.Utils.Taskbar Namespace