RelativePanel.GetAbove(UIElement) Method

Definition

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

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.RelativePanel.GetAbove.

public:
 static Platform::Object ^ GetAbove(UIElement ^ element);
 static IInspectable GetAbove(UIElement const& element);
public static object GetAbove(UIElement element);
function getAbove(element)
Public Shared Function GetAbove (element As UIElement) As Object

Parameters

element
UIElement

The object from which the property value is read.

Returns

Object

IInspectable

The RelativePanel.Above XAML attached property value of the specified object. (The element to position this element above.)

Remarks

This method is a utility method for the property system, and isn't used in most app scenarios. In most cases you set the RelativePanel.Above XAML attached property in XAML and won't need this method. For more info, see the RelativePanel.Above attached property.

Applies to

See also