Delen via


RichEditBox.TextAlignment Property

Definition

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

public:
 property TextAlignment TextAlignment { TextAlignment get(); void set(TextAlignment value); };
TextAlignment TextAlignment();

void TextAlignment(TextAlignment value);
public TextAlignment TextAlignment { get; set; }
var textAlignment = richEditBox.textAlignment;
richEditBox.textAlignment = textAlignment;
Public Property TextAlignment As TextAlignment
<RichEditBox TextAlignment="textAlignmentValue"/>

Property Value

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

Applies to