Skip to content

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

1. Overload

public virtual TaskBarProgressState GetState(nint hWnd)

Inherited documentation

These docs were inherited from ITaskBarService. The member doesn't override them on this type.

Summary: Gets taskbar state of the selected window handle.

Parameters

NameTypeDescription
hWndnintWindow handle.

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

2. Overload

public virtual TaskBarProgressState GetState(Window? window)

Inherited documentation

These docs were inherited from ITaskBarService. The member doesn't override them on this type.

Summary: Gets taskbar state of the selected window.

Parameters

NameTypeDescription
windowWindow?Selected window.

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