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. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2