PrintPreviewDialog::MinimizeBox 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 minimize button is displayed in the caption bar of the form.

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

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

Property Value

Type: System::Boolean

true to display a minimize button for the form; otherwise, false. The default is true.

This property is not relevant for this class.

A minimize button enables users to minimize a window to an icon. To display a minimize button, you must also set the form's FormBorderStyle property to either FormBorderStyle::FixedSingle, FormBorderStyle::Sizable, FormBorderStyle::Fixed3D, or FormBorderStyle::FixedDialog.

System_CAPS_noteNote

Minimizing a form at run time generates a Resize event. The WindowState property reflects the current state of the window. If you set the WindowState property to FormWindowState::Minimized, the form is minimized independently of whatever settings are in effect for the MinimizeBox and FormBorderStyle properties.

.NET Framework
Available since 1.1
Return to top
Show: