| File: System\Windows\Forms\FormStartPosition.cs | Web Access |
| Project: src\winforms\src\System.Windows.Forms\System.Windows.Forms.csproj (System.Windows.Forms) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Windows.Forms; /// <summary> /// Specifies the initial position of a form. /// </summary> public enum FormStartPosition { /// <summary> /// The location and size of the form will determine its starting position. /// </summary> Manual = 0, /// <summary> /// The form is centered on the current display, and has the dimensions /// specified in the form's size. /// </summary> CenterScreen = 1, /// <summary> /// The form is positioned at the Windows default location and has the /// dimensions specified in the form's size. /// </summary> WindowsDefaultLocation = 2, /// <summary> /// The form is positioned at the Windows default location and has the /// bounds determined by Windows default. /// </summary> WindowsDefaultBounds = 3, /// <summary> /// The form is centered within the bounds of its parent form. /// </summary> CenterParent = 4 }