FormStartPosition | serializable |
System.Windows.Forms (system.windows.forms.dll) | enum |
The position at which a Form appears when it is
first shown can be defined by a value from this enumeration. Note
that you must set StartPosition before a
Form is shown for it to have any effect.
public enum FormStartPosition {
Manual = 0,
CenterScreen = 1,
WindowsDefaultLocation = 2,
WindowsDefaultBounds = 3,
CenterParent = 4
}
Hierarchy
System.Object System.ValueType
System.Enum(System.IComparabl,
System.IFormattable,
System.IConvertible)
FormStartPosition
Returned By
Form.StartPosition,
PrintPreviewDialog.StartPosition
Passed To
Form.StartPosition,
PrintPreviewDialog.StartPosition
|