Class TaskBarService
Allows you to manage the animations of the window icon in the taskbar.
public class TaskBarService : ITaskBarService- Inheritance
- 
      
      TaskBarService
- Implements
- Inherited Members
Methods
GetState(IntPtr)
Gets taskbar state of the selected window handle.
public virtual TaskBarProgressState GetState(IntPtr hWnd)Parameters
- hWndIntPtr
- Window handle. 
Returns
- TaskBarProgressState
- The current state of system TaskBar. 
GetState(Window?)
Gets taskbar state of the selected window.
public virtual TaskBarProgressState GetState(Window? window)Parameters
- windowWindow
- Selected window. 
Returns
- TaskBarProgressState
- The current state of system TaskBar. 
SetState(IntPtr, TaskBarProgressState)
Sets taskbar state of the selected window handle.
public virtual bool SetState(IntPtr hWnd, TaskBarProgressState taskBarProgressState)Parameters
- hWndIntPtr
- Window handle to modify. 
- taskBarProgressStateTaskBarProgressState
- Progress sate to set. 
Returns
SetState(Window?, TaskBarProgressState)
Sets taskbar state of the selected window.
public virtual bool SetState(Window? window, TaskBarProgressState taskBarProgressState)Parameters
- windowWindow
- Window to modify. 
- taskBarProgressStateTaskBarProgressState
- Progress sate to set. 
Returns
SetValue(IntPtr, int, int)
Sets taskbar value of the selected window handle.
public virtual bool SetValue(IntPtr hWnd, int current, int total)Parameters
Returns
SetValue(IntPtr, TaskBarProgressState, int, int)
Sets taskbar value of the selected window handle.
public virtual bool SetValue(IntPtr hWnd, TaskBarProgressState taskBarProgressState, int current, int total)Parameters
- hWndIntPtr
- Window handle to modify. 
- taskBarProgressStateTaskBarProgressState
- Progress sate to set. 
- currentint
- Current value to display. 
- totalint
- Maximum number for division. 
Returns
SetValue(Window?, int, int)
Sets taskbar value of the selected window.
public virtual bool SetValue(Window? window, int current, int total)Parameters
- windowWindow
- Window to modify. 
- currentint
- Current value to display. 
- totalint
- Maximum number for division. 
Returns
SetValue(Window?, TaskBarProgressState, int, int)
Sets taskbar value of the selected window.
public virtual bool SetValue(Window? window, TaskBarProgressState taskBarProgressState, int current, int total)Parameters
- windowWindow
- Window to modify. 
- taskBarProgressStateTaskBarProgressState
- Progress sate to set. 
- currentint
- Current value to display. 
- totalint
- Maximum number for division.