Skip to main content

GetAlignVerticalCenterWith Method

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

Definition​

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

[ResolveByNameAttribute]
public static Object GetAlignVerticalCenterWith(
AvaloniaObject obj
)

Parameters​

  AvaloniaObject
The object from which the property value is read.

Return Value​

Object
The value to set. (The element to align this element's vertical center with.)

See Also​

Reference​

RelativePanel Class
Avalonia.Controls Namespace