PrintPreviewDialog.ShowInTaskbar Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating whether the form is displayed in the Windows taskbar.
public:
property bool ShowInTaskbar { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool ShowInTaskbar { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ShowInTaskbar : bool with get, set
Public Property ShowInTaskbar As Boolean
Property Value
true
to display the form in the Windows taskbar at run time; otherwise, false
. The default is true
.
- Attributes
Remarks
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.
Applies to
.NET