Specifies how an object or text in a control is vertically aligned relative to an element of the control.
[Visual Basic] Public Enum VerticalAlignment [C#] public enum VerticalAlignment [C++] public enum VerticalAlignment
[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.
Member Name | Description |
---|---|
Bottom | The object or text is aligned with the bottom of the control. |
Middle | The object or text is aligned with the middle of the control. |
Top | The object or text is aligned with the top of the control. |
Namespace: System.WinForms
Assembly: System.WinForms.dll