Window.ShowInTaskbar Property

Gets or sets a value whether the window has a task bar button. This is a dependency property.

Namespace: System.Windows
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public bool ShowInTaskbar { get; set; }
/** @property */
public boolean get_ShowInTaskbar ()

/** @property */
public void set_ShowInTaskbar (boolean value)

public function get ShowInTaskbar () : boolean

public function set ShowInTaskbar (value : boolean)

<object ShowInTaskbar="bool" .../>

Property Value

true if the window has a task bar button; otherwise, false.

You cannot set or get this property when a window is hosted in a browser.

Identifier field


Metadata properties set to true


If ShowInTaskbar is set to true, the window will also appear in the ALT+TAB application selection list.

The icon that is used for both the task bar button and the ALT+TAB application selection list is the value of the Icon property.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0