Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.57 KB

relativepanel_aligntopwithpanelproperty.md

File metadata and controls

27 lines (18 loc) · 1.57 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.RelativePanel.AlignTopWithPanelProperty
winrt property

Microsoft.UI.Xaml.Controls.RelativePanel.AlignTopWithPanelProperty

-description

Identifies the RelativePanel.AlignTopWithPanel XAML attached property.

-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.

-examples

-see-also

RelativePanel.AlignTopWithPanel, Attached properties overview