Specifies the initial position of a form.
[Visual Basic] Public Enum FormStartPosition [C#] public enum FormStartPosition [C++] public enum FormStartPosition
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
This enumeration is used by the Form class.
Member Name | Description |
---|---|
CenterParent | The form is centered within the bounds of its parent form. |
CenterScreen | The form is centered on the current display, and has the dimensions specified in the form's size. |
Manual | The location and size of the form will determine its starting position. |
WindowsDefaultBounds | The form is positioned at the Windows default location and has the bounds determined by Windows default. |
WindowsDefaultLocation | The form is positioned at the Windows default location and has the dimensions specified in the form's size. |
Namespace: System.WinForms
Assembly: System.WinForms.dll