RichTextBox.TextAlignment Property
Silverlight
Gets or sets how the text should be aligned in the RichTextBox.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
<RichTextBox TextAlignment="textAlignmentValue"/>
XAML Values
Property Value
Type: System.Windows.TextAlignmentOne of the TextAlignment enumeration values. The default is Left.
This property returns the current alignment. Setting this property adjusts the contents of the RichTextBox to reflect the specified alignment.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.