Dela via


RelativePanel.AlignHorizontalCenterWithProperty Property

Definition

Gets the value of the RelativePanel.AlignHorizontalCenterWith XAML attached property for the target element.

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

Property Value

The identifier for the RelativePanel.AlignHorizontalCenterWith XAML attached property.

Remarks

This property is only an identifier for the property system, and isn't used in most app scenarios. In most cases you set the RelativePanel.AlignHorizontalCenterWith XAML attached property in XAML and won't need this identifier.

To access the RelativePanel.AlignHorizontalCenterWith attached property in code, you can use the dependency property system, calling either GetValue or SetValue and passing RelativePanel.AlignHorizontalCenterWithProperty as the dependency property identifier. Another way to get or set the value in code is to use GetAlignHorizontalCenterWith and SetAlignHorizontalCenterWith.

Applies to

See also