System.Windows.Forms.PrintPreviewDialog.WindowState Property

Gets or sets the form's window state.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.ComponentModel.Browsable(false)]
public FormWindowState WindowState { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Before a form is displayed, the Form.WindowState property is always set to FormWindowState.Normal, regardless of its initial setting. This is reflected in the Control.Height, Control.Left, Control.Top, and Control.Width property settings. If a form is hidden after it has been shown, these properties reflect the previous state until the form is shown again, regardless of any changes made to the Form.WindowState property.

Requirements

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