'Declaration Public Enum DialogStartPosition Inherits System.Enum
public enum DialogStartPosition : System.Enum
Member | Description |
---|---|
CenterActiveScreen | The form is centered on the display that contains currently active window. This might not be the display on which caller is. |
CenterOwnerForm | The form is centered within the bounds of its owner form. |
CenterOwnerScreen | The form is centered on the display on which its owner form is. |
CenterPrimaryScreen | The form is centered on the Primary display (System.Windows.Forms.Screen.PrimaryScreen), and has the dimensions specified in the form's size. |
Default | The default value is CenterOwnerScreen. |
Manual | The position of the form is determined by the StartLocation property. |
WindowsDefaultLocation | The form is positioned at the Windows default location. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2