Name

FormStartPosition

Synopsis

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

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.