RelativePanel.AlignHorizontalCenterWithProperty プロパティ

定義

ターゲット要素の RelativePanel.AlignHorizontalCenterWith XAML 添付プロパティの値を取得します。

public:
 static property DependencyProperty ^ AlignHorizontalCenterWithProperty { DependencyProperty ^ get(); };
static DependencyProperty AlignHorizontalCenterWithProperty();
public static DependencyProperty AlignHorizontalCenterWithProperty { get; }
var dependencyProperty = RelativePanel.alignHorizontalCenterWithProperty;
Public Shared ReadOnly Property AlignHorizontalCenterWithProperty As DependencyProperty

プロパティ値

RelativePanel.AlignHorizontalCenterWith XAML 添付プロパティの識別子。

注釈

このプロパティはプロパティ システムの識別子に過ぎません。ほとんどのアプリ シナリオでは使用されません。 ほとんどの場合、XAML で RelativePanel.AlignHorizontalCenterWith XAML 添付プロパティを設定し、この識別子は必要ありません。

コードで RelativePanel.AlignHorizontalCenterWith 添付プロパティにアクセスするには、依存関係プロパティ システムを使用して GetValue または SetValue を呼び出し、RelativePanel.AlignHorizontalCenterWithProperty を依存関係プロパティ識別子として渡します。 コードで値を取得または設定するもう 1 つの方法は、 GetAlignHorizontalCenterWithSetAlignHorizontalCenterWith を使用することです。

適用対象

こちらもご覧ください