Enum WindowStartLocation
Specifies the initial location of a window.
public enum WindowStartLocation
Fields
CenterActiveWindow = 5
The startup location of a window is the center of the active window.
CenterMainWindow = 4
The startup location of a window is the center of the main window.
CenterOwner = 3
The startup location of a window is the center of the window that owns it, as specified by the 'Owner' property.
CenterScreen = 2
The window is centered on the current display, and has the dimensions specified in the windows's size.
Default = 0
The window is positioned at the operating system default location.
Manual = 1
The position of the window is determined by 'Location' property of the window.
ScreenBottomRight = 7
The startup location of a window is the bottom-right corner on the current display.
ScreenTopRight = 6
The startup location of a window is the top-right corner on the current display.