Gets or sets the vertical alignment of the text.
Visual Basic (Declaration) | |
---|---|
Public Property VerticalAlign As ExpressionInfo |
C# | |
---|---|
public ExpressionInfo VerticalAlign {get; set;} |
Property Value
An ExpressionInfo object that evaluates to a VerticalAlign enumeration indicating the vertical alignment of the text. Valid values are listed in the table below.
VerticalAlign | Description |
---|---|
Top | Text is aligned to the top. |
Middle | Text is centered in the control. |
Bottom | Text is aligned to the bottom. |