[]
Gets or sets a horizontal alignment of the text.
[ExpressionBaseType(typeof(TextAlign))]
public ExpressionInfo TextAlign { get; set; }
| Type | Description |
|---|---|
| ExpressionInfo | 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. |
| Justify | Text stretched from the left to the right. |