Gets or sets the horizontal alignment of the text.
Visual Basic (Declaration) | |
---|---|
Public Property TextAlign As ExpressionInfo |
C# | |
---|---|
public ExpressionInfo TextAlign {get; set;} |
Property Value
An ExpressionInfo object that evaluates to a TextAlign enumeration indicating the horizontal alignment of the text. Valid values are listed in the table below.
TextAlign | Description |
---|---|
General | The alignment is based on the content type. |
Left | Text is aligned to the left. |
Center | Text is centered in the control. |
Right | Text is aligned to the right. |