Dela via


RelativePanel.AlignTopWithPanelProperty Property

Definition

Identifies the RelativePanel.AlignTopWithPanel XAML attached property.

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

Property Value

The identifier for the RelativePanel.AlignTopWithPanel 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.AlignTopWithPanel XAML attached property in XAML and won't need this identifier.

To access the RelativePanel.Above attached property in code, you can use the dependency property system, calling either GetValue or SetValue and passing RelativePanel.AlignTopWithPanelProperty as the dependency property identifier. Another way to get or set the value in code is to use GetAlignTopWithPanel and SetAlignTopWithPanel.

Applies to

See also