ITaskBarService.SetValue(nint, TaskBarProgressState, int, int) method¶
Defined in
Type: ITaskBarService
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.
bool SetValue(nint hWnd, TaskBarProgressState taskBarProgressState, int current, int total) - 2.
bool SetValue(nint hWnd, int current, int max) - 3.
bool SetValue(Window? window, TaskBarProgressState taskBarProgressState, int current, int total) - 4.
bool SetValue(Window? window, int current, int total)
1. Overload¶
bool SetValue(nint hWnd, TaskBarProgressState taskBarProgressState, int current, int total)
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.
2. Overload¶
bool SetValue(nint hWnd, int current, int max)
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.
3. Overload¶
bool SetValue(Window? window, TaskBarProgressState taskBarProgressState, int current, int total)
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.
4. Overload¶
bool SetValue(Window? window, int current, int total)
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.