ContentPresenter.HorizontalContentAlignment プロパティ

定義

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

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

void HorizontalContentAlignment(HorizontalAlignment value);
public HorizontalAlignment HorizontalContentAlignment { get; set; }
var horizontalAlignment = contentPresenter.horizontalContentAlignment;
contentPresenter.horizontalContentAlignment = horizontalAlignment;
Public Property HorizontalContentAlignment As HorizontalAlignment
<ContentPresenter  HorizontalContentAlignment="horizontalAlignmentMemberName"/>

プロパティ値

HorizontalAlignment 値の 1 つ。

適用対象