Skip to main content

GetAlignTopWithPanel Method

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

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static bool GetAlignTopWithPanel(
AvaloniaObject obj
)

Parameters

  AvaloniaObject
The object from which the property value is read.

Return Value

Boolean
The RelativePanel.AlignTopWithPanel XAML attached property value of the specified object. (true to align this element's top edge with the panel's top edge; otherwise, false.)

See Also

Reference

RelativePanel Class
Avalonia.Controls Namespace