TaskBarService.SetValue(Window?, TaskBarProgressState, int, int) method¶
Defined in
Type: TaskBarService
Namespace: CrissCross.WPF.UI
Assembly: CrissCross.WPF.UI.dll
Applies to
net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net481
Overloads¶
- 1.
public virtual bool SetValue(Window? window, TaskBarProgressState taskBarProgressState, int current, int total) - 2.
public virtual bool SetValue(Window? window, int current, int total) - 3.
public virtual bool SetValue(nint hWnd, TaskBarProgressState taskBarProgressState, int current, int total) - 4.
public virtual bool SetValue(nint hWnd, int current, int max)
1. Overload¶
public virtual bool SetValue(Window? window, TaskBarProgressState taskBarProgressState, int current, int total)
Inherited documentation
These docs were inherited from ITaskBarService. The member doesn't override them on this type.
Summary: Sets taskbar value of the selected window.
Parameters
| Name | Type | Description |
|---|---|---|
window | Window? | Window to modify. |
taskBarProgressState | [TaskBarProgressState](# | Progress sate to set. |
current | int | Current value to display. |
total | int | Maximum number for division. |
Returns: bool -- true if the operation succeeds. false otherwise.
2. Overload¶
public virtual bool SetValue(Window? window, int current, int total)
Inherited documentation
These docs were inherited from ITaskBarService. The member doesn't override them on this type.
Summary: Sets taskbar value of the selected window.
Parameters
| Name | Type | Description |
|---|---|---|
window | Window? | Window to modify. |
current | int | Current value to display. |
total | int | Maximum number for division. |
Returns: bool -- true if the operation succeeds. false otherwise.
3. Overload¶
public virtual bool SetValue(nint hWnd, TaskBarProgressState taskBarProgressState, int current, int total)
Inherited documentation
These docs were inherited from ITaskBarService. The member doesn't override them on this type.
Summary: Sets taskbar value of the selected window handle.
Parameters
| Name | Type | Description |
|---|---|---|
hWnd | nint | Window handle to modify. |
taskBarProgressState | [TaskBarProgressState](# | Progress sate to set. |
current | int | Current value to display. |
total | int | Maximum number for division. |
Returns: bool -- true if the operation succeeds. false otherwise.
4. Overload¶
public virtual bool SetValue(nint hWnd, int current, int max)
Inherited documentation
These docs were inherited from ITaskBarService. The member doesn't override them on this type.
Summary: Sets taskbar value of the selected window handle.
Parameters
| Name | Type | Description |
|---|---|---|
hWnd | nint | Window handle to modify. |
current | int | Current value to display. |
max | int | Maximum number for division. |
Returns: bool -- true if the operation succeeds. false otherwise.