RelativePanelGetAlignHorizontalCenterWithPanel 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) Version: 11.3.999
public static bool GetAlignHorizontalCenterWithPanel(
	AvaloniaObject obj
)

Parameters

obj  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