RichTextBlock.TextAlignment RichTextBlock.TextAlignment RichTextBlock.TextAlignment RichTextBlock.TextAlignment Property

Definition

Gets or sets a value that indicates how the text is aligned in the RichTextBlock.

public : TextAlignment TextAlignment { get; set; }
TextAlignment TextAlignment();

void TextAlignment(TextAlignment textalignment);
public TextAlignment TextAlignment { get; set; }
Public ReadWrite Property TextAlignment As TextAlignment
<RichTextBlock TextAlignment="textAlignmentValue"/>

Property Value

One of the TextAlignment enumeration values that indicates how text is aligned. The default is Left.