Edytuj

Udostępnij za pośrednictwem


Window.ShowInTaskbar Property

Definition

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

public:
 property bool ShowInTaskbar { bool get(); void set(bool value); };
public bool ShowInTaskbar { get; set; }
member this.ShowInTaskbar : bool with get, set
Public Property ShowInTaskbar As Boolean

Property Value

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

Remarks

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.

Note

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

Dependency Property Information

Identifier field ShowInTaskbarProperty
Metadata properties set to true None

Applies to