Skip to main content

GetAlignVerticalCenterWithPanel Method

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

Definition​

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

public static bool GetAlignVerticalCenterWithPanel(
AvaloniaObject obj
)

Parameters​

  AvaloniaObject
The object from which the property value is read.

Return Value​

Boolean
The RelativePanel.AlignVerticalCenterWithPanel XAML attached property value of the specified object. (true to vertically center this element in the panel; otherwise, false.)

See Also​

Reference​

RelativePanel Class
Avalonia.Controls Namespace