Version

DialogStartPosition Enumeration

Enumeration used to specify the initial position of the dialog.
Syntax
'Declaration
 
Public Enum DialogStartPosition 
   Inherits System.Enum
public enum DialogStartPosition : System.Enum 
Members
MemberDescription
CenterActiveScreenThe form is centered on the display that contains currently active window. This might not be the display on which caller is.
CenterOwnerFormThe form is centered within the bounds of its owner form.
CenterOwnerScreenThe form is centered on the display on which its owner form is.
CenterPrimaryScreenThe form is centered on the Primary display (System.Windows.Forms.Screen.PrimaryScreen), and has the dimensions specified in the form's size.
DefaultThe default value is CenterOwnerScreen.
ManualThe position of the form is determined by the StartLocation property.
WindowsDefaultLocationThe form is positioned at the Windows default location.
Requirements

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

See Also