Table of Contents

Class TaskBarProgress

Namespace
Wpf.Ui.TaskBar
Assembly
Wpf.Ui.dll

Allows to change the status of the displayed notification in the application icon on the TaskBar.

public static class TaskBarProgress
Inheritance
TaskBarProgress
Inherited Members

Methods

SetState(IntPtr, TaskBarProgressState)

Allows to change the status of the progress bar in the task bar.

public static bool SetState(IntPtr hWnd, TaskBarProgressState taskBarProgressState)

Parameters

hWnd IntPtr

Window handle.

taskBarProgressState TaskBarProgressState

State of the progress indicator.

Returns

bool

SetState(Window?, TaskBarProgressState)

Allows to change the status of the progress bar in the task bar.

public static bool SetState(Window? window, TaskBarProgressState taskBarProgressState)

Parameters

window Window

Window to manipulate.

taskBarProgressState TaskBarProgressState

State of the progress indicator.

Returns

bool

SetValue(IntPtr, TaskBarProgressState, int)

Allows to change the fill of the task bar.

public static bool SetValue(IntPtr hWnd, TaskBarProgressState taskBarProgressState, int current)

Parameters

hWnd IntPtr

Window handle.

taskBarProgressState TaskBarProgressState

Progress sate to set.

current int

Current value to display

Returns

bool

SetValue(IntPtr, TaskBarProgressState, int, int)

Allows to change the fill of the task bar.

public static bool SetValue(IntPtr hWnd, TaskBarProgressState taskBarProgressState, int current, int total)

Parameters

hWnd IntPtr

Window handle.

taskBarProgressState TaskBarProgressState

Progress sate to set.

current int

Current value to display

total int

Total number for division.

Returns

bool

SetValue(Window, TaskBarProgressState, int)

Allows to change the fill of the task bar.

public static bool SetValue(Window window, TaskBarProgressState taskBarProgressState, int current)

Parameters

window Window

Window to manipulate.

taskBarProgressState TaskBarProgressState

Progress sate to set.

current int

Current value to display

Returns

bool

SetValue(Window?, TaskBarProgressState, int, int)

Allows to change the fill of the task bar.

public static bool SetValue(Window? window, TaskBarProgressState taskBarProgressState, int current, int total)

Parameters

window Window

Window to manipulate.

taskBarProgressState TaskBarProgressState

Progress sate to set.

current int

Current value to display

total int

Total number for division.

Returns

bool