The properties of System.Windows.Forms.Form are listed below. For a list of all members, see the Form Members list.
See Also: Inherited members from System.Windows.Forms.ContainerControl
AcceptButton | System.Windows.Forms.IButtonControl.
Gets or sets the button on the form that is clicked when the user presses the ENTER key. | |
[read-only] static | ActiveForm | System.Windows.Forms.Form.
Gets the currently active form for this application. |
[read-only] | ActiveMdiChild | System.Windows.Forms.Form.
Gets the currently active multiple-document interface (MDI) child window. |
AllowTransparency | bool.
Gets or sets a value indicating whether the opacity of the form can be adjusted. | |
AutoScale | bool.
Gets or sets a value indicating whether the form adjusts its size to fit the height of the font used on the form and scales its controls. | |
AutoScaleBaseSize | System.Drawing.Size.
Gets or sets the base size used for autoscaling of the form. | |
override | AutoScroll | bool.
Gets or sets a value indicating whether the form enables autoscrolling. |
override | AutoSize | bool.
Resize the form according to the setting of Form.AutoSizeMode. |
AutoSizeMode | System.Windows.Forms.AutoSizeMode.
Gets or sets the mode by which the form automatically resizes itself. | |
override | AutoValidate | System.Windows.Forms.AutoValidate. Documentation for this section has not yet been entered. |
override | BackColor | System.Drawing.Color. Documentation for this section has not yet been entered. |
CancelButton | System.Windows.Forms.IButtonControl.
Gets or sets the button control that is clicked when the user presses the ESC key. | |
ClientSize | System.Drawing.Size.
Gets or sets the size of the client area of the form. | |
ControlBox | bool.
Gets or sets a value indicating whether a control box is displayed in the caption bar of the form. | |
DesktopBounds | System.Drawing.Rectangle.
Gets or sets the size and location of the form on the Windows desktop. | |
DesktopLocation | System.Drawing.Point.
Gets or sets the location of the form on the Windows desktop. | |
DialogResult | System.Windows.Forms.DialogResult.
Gets or sets the dialog result for the form. | |
FormBorderStyle | System.Windows.Forms.FormBorderStyle.
Gets or sets the border style of the form. | |
HelpButton | bool.
Gets or sets a value indicating whether a Help button should be displayed in the caption box of the form. | |
Icon | System.Drawing.Icon.
Gets or sets the icon for the form. | |
[read-only] | IsMdiChild | bool.
Gets a value indicating whether the form is a multiple-document interface (MDI) child form. |
IsMdiContainer | bool.
Gets or sets a value indicating whether the form is a container for multiple-document interface (MDI) child forms. | |
[read-only] | IsRestrictedWindow | bool.
Gets a value indicating whether the form can use all windows and user input events without restriction. |
KeyPreview | bool.
Gets or sets a value indicating whether the form will receive key events before the event is passed to the control that has focus. | |
Location | System.Drawing.Point.
Gets or sets the System.Drawing.Point that represents the upper-left corner of the System.Windows.Forms.Form in screen coordinates. | |
MainMenuStrip | System.Windows.Forms.MenuStrip.
Gets or sets the primary menu container for the form. | |
Margin | System.Windows.Forms.Padding.
Gets or sets the space between controls. | |
MaximizeBox | bool.
Gets or sets a value indicating whether the Maximize button is displayed in the caption bar of the form. | |
override | MaximumSize | System.Drawing.Size.
Gets the maximum size the form can be resized to. |
[read-only] | MdiChildren | System.Windows.Forms.Form[].
Gets an array of forms that represent the multiple-document interface (MDI) child forms that are parented to this form. |
MdiParent | System.Windows.Forms.Form.
Gets or sets the current multiple-document interface (MDI) parent form of this form. | |
Menu | System.Windows.Forms.MainMenu.
Gets or sets the System.Windows.Forms.MainMenu that is displayed in the form. | |
[read-only] | MergedMenu | System.Windows.Forms.MainMenu.
Gets the merged menu for the form. |
MinimizeBox | bool.
Gets or sets a value indicating whether the Minimize button is displayed in the caption bar of the form. | |
override | MinimumSize | System.Drawing.Size.
Gets or sets the minimum size the form can be resized to. |
[read-only] | Modal | bool.
Gets a value indicating whether this form is displayed modally. |
Opacity | double.
Gets or sets the opacity level of the form. | |
[read-only] | OwnedForms | System.Windows.Forms.Form[].
Gets an array of System.Windows.Forms.Form objects that represent all forms that are owned by this form. |
Owner | System.Windows.Forms.Form.
Gets or sets the form that owns this form. | |
[read-only] | RestoreBounds | System.Drawing.Rectangle.
Gets the location and size of the form in its normal window state. |
RightToLeftLayout | bool.
Gets or sets a value indicating whether right-to-left mirror placement is turned on. | |
ShowIcon | bool.
Gets or sets a value indicating whether an icon is displayed in the caption bar of the form. | |
ShowInTaskbar | bool.
Gets or sets a value indicating whether the form is displayed in the Windows taskbar. | |
Size | System.Drawing.Size.
Gets or sets the size of the form. | |
SizeGripStyle | System.Windows.Forms.SizeGripStyle.
Gets or sets the style of the size grip to display in the lower-right corner of the form. | |
StartPosition | System.Windows.Forms.FormStartPosition.
Gets or sets the starting position of the form at run time. | |
TabIndex | int.
Gets or sets the tab order of the control within its container. | |
TabStop | bool.
Gets or sets a value indicating whether the user can give the focus to this control using the TAB key. | |
override | Text | string. Documentation for this section has not yet been entered. |
TopLevel | bool.
Gets or sets a value indicating whether to display the form as a top-level window. | |
TopMost | bool.
Gets or sets a value indicating whether the form should be displayed as a topmost form. | |
TransparencyKey | System.Drawing.Color.
Gets or sets the color that will represent transparent areas of the form. | |
WindowState | System.Windows.Forms.FormWindowState.
Gets or sets a value that indicates whether form is minimized, maximized, or normal. |
[read-only] override | CreateParams | System.Windows.Forms.CreateParams. Documentation for this section has not yet been entered. |
[read-only] override | DefaultImeMode | System.Windows.Forms.ImeMode.
Gets the default Input Method Editor (IME) mode supported by the control. |
[read-only] override | DefaultSize | System.Drawing.Size. Documentation for this section has not yet been entered. |
MaximizedBounds | System.Drawing.Rectangle.
Gets and sets the size of the form when it is maximized. | |
[read-only] | ShowWithoutActivation | bool.
Gets a value indicating whether the window will be activated when it is shown. |