System.Windows.Forms.PrintPreviewDialog.MinimizeBox Property

Gets or sets a value indicating whether the minimize button is displayed in the caption bar of the form.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.DefaultValue(false)]
[System.ComponentModel.Browsable(false)]
public bool MinimizeBox { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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 PrintPreviewDialog.FormBorderStyle property to either FormBorderStyle.FixedSingle, FormBorderStyle.Sizable, FormBorderStyle.Fixed3D, or FormBorderStyle.FixedDialog.

Note:

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

Requirements

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