TextBlock.TextAlignment Property
Silverlight
Gets or sets a value that indicates the horizontal alignment of text content.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
<TextBlock TextAlignment="textAlignmentValue"/>
XAML Values
Property Value
Type: System.Windows.TextAlignmentThe text alignment. The default is TextAlignment.Left.
Dependency property identifier field: TextAlignmentProperty
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.