TextBox.TextAlignment TextBox.TextAlignment TextBox.TextAlignment TextBox.TextAlignment Property

Definition

Gets or sets how the text should be horizontally aligned in the text box.

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

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

One of the TextAlignment enumeration values. The default is Left.