Skip to main content

GetAlignHorizontalCenterWithPanel Method

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

Definition

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

public static bool GetAlignHorizontalCenterWithPanel(
AvaloniaObject obj
)

Parameters

  AvaloniaObject
The object from which the property value is read.

Return Value

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

See Also

Reference

RelativePanel Class
Avalonia.Controls Namespace