RelativePanel.AlignVerticalCenterWithProperty Property


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

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

Property Value

The identifier for the RelativePanel.AlignVerticalCenterWith XAML attached property.


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.AlignVerticalCenterWith XAML attached property in XAML and won't need this identifier.

To access the RelativePanel.AlignVerticalCenterWith attached property in code, you can use the dependency property system, calling either GetValue or SetValue and passing RelativePanel.AlignVerticalCenterWithProperty as the dependency property identifier. Another way to get or set the value in code is to use GetAlignVerticalCenterWith and SetAlignVerticalCenterWith.

Applies to

See also