Skip to content

ITaskBarService.GetState(nint) 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. TaskBarProgressState GetState(nint hWnd)
  • 2. TaskBarProgressState GetState(Window? window)

1. Overload

TaskBarProgressState GetState(nint hWnd)

Summary: Gets taskbar state of the selected window handle.

Parameters

NameTypeDescription
hWndnintWindow handle.

Returns: TaskBarProgressState -- The current state of system TaskBar.

2. Overload

TaskBarProgressState GetState(Window? window)

Summary: Gets taskbar state of the selected window.

Parameters

NameTypeDescription
windowWindow?Selected window.

Returns: TaskBarProgressState -- The current state of system TaskBar.