共用方式為


RichEditBox.TextAlignment 屬性

定義

取得或設定值,這個值表示 如何在 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"/>

屬性值

其中一個 TextAlignment 列舉值,指定如何對齊文字。 預設值為 Left

適用於