PrintPreviewDialog::ShowInTaskbar Property

 

This API supports the product infrastructure and is not intended to be used directly from your code.

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

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

public:
[BrowsableAttribute(false)]
property bool ShowInTaskbar {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true to display the form in the Windows taskbar at run time; otherwise, false. The default is true.

This property is not relevant for this class.

If a form is a child of another form, the child 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, since you would need both the application's main window and the Find and Replace tool window displayed in order to process searches appropriately.

.NET Framework
Available since 1.1
Return to top
Show: