System.Windows.Forms.Form.ShowInTaskbar Property

Gets or sets a value indicating whether the form is displayed in the Windows taskbar.

Syntax

[System.ComponentModel.DefaultValue(true)]
public bool ShowInTaskbar { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

If a form is parented within another form, the parented form is not displayed in the Windows taskbar.

You can use this property to prevent users from selecting your form through the Windows taskbar. For example, if you display a Find and Replace tool window in your application, you might want to prevent that window from being selected through the Windows taskbar because you would need both the application's main window and the Find and Replace tool window displayed in order to process searches appropriately.

You will often wish to use this property when creating a form with the FormBorderStyle.FixedToolWindow style. Setting the FormBorderStyle.FixedToolWindow style does not alone guarantee that a window will not appear in the taskbar.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0
Since: .NET 2.0