Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Window.ShowInTaskbar Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that indicates whether the window has a task bar button.

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

public bool ShowInTaskbar { get; set; }

Property Value

Type: System.Boolean

true if the window has a task bar button; otherwise, false. Does not apply when the window is hosted in a browser.

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.

System_CAPS_noteNote

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

Identifier field

ShowInTaskbarProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show:
© 2018 Microsoft