System.Windows.Forms.Form.RestoreBounds Property

Gets the location and size of the form in its normal window state.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public System.Drawing.Rectangle RestoreBounds { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Typically, you use the Form.RestoreBounds property to track the user's window size and position preferences for the form in its normal window state. You should track both the value of the Form.WindowState and Form.RestoreBounds properties when tracking the user's window preferences.

Note:

The value of the Form.RestoreBounds property is valid only when the Form.WindowState property of the System.Windows.Forms.Form class is not equal to FormWindowState.Normal.

Requirements

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