Class SharpTaskbarProgressWpf
Exposes methods that control the progress indicator of the taskbar.
Inherited Members
Namespace: SharpDialogs.Wpf
Assembly: SharpDialogs.Wpf.dll
Syntax
public static class SharpTaskbarProgressWpf
Methods
| Edit this page View SourceSetState(Window?, SharpTaskbarStates)
Sets the type and state of the progress indicator displayed on a taskbar button.
Declaration
public static void SetState(Window? owner, SharpTaskbarStates state)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | owner | The window in which the progress of an operation is being shown. This window's associated taskbar button will display the progress bar. |
| SharpTaskbarStates | state | Control the current state of the progress button. |
SetValue(Window?, ulong, ulong)
Displays or updates a progress bar hosted in a taskbar button to show the specific percentage completed of the full operation.
Declaration
public static void SetValue(Window? owner, ulong progress, ulong max)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | owner | The window whose associated taskbar button is being used as a progress indicator. |
| ulong | progress | A value that indicates the proportion of the operation that has been completed at the time the method is called. |
| ulong | max | A value that specifies the value ullCompleted will have when the operation is complete. |