Share via


Block.TextAlignment プロパティ

定義

テキスト コンテンツの水平方向の配置を取得または設定します。

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

void TextAlignment(TextAlignment value);
public TextAlignment TextAlignment { get; set; }
var textAlignment = block.textAlignment;
block.textAlignment = textAlignment;
Public Property TextAlignment As TextAlignment
<Paragraph TextAlignment="textAlignmentMemberName"/>

プロパティ値

テキスト コンテンツの水平方向の配置。 既定値は Left です

注釈

BlockParagraph の基本クラスです。 Paragraph は、ブロックに基づいてカスタム クラスを作成しない限り、Windows ランタイム XAML で TextAlignment 値を設定できる唯一の要素です。

適用対象

こちらもご覧ください