TextBlock.TextAlignment TextBlock.TextAlignment TextBlock.TextAlignment TextBlock.TextAlignment Property

Definition

Gets or sets a value that indicates the horizontal alignment of text content.

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

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

The text alignment. The default is Left.