RelativePanel.

GetAlignHorizontalCenterWithPanel(AvaloniaObject) Method

Summary

Gets the value of the RelativePanel.AlignHorizontalCenterWithPanel XAML attached property for the target element.
Namespace
Avalonia.Controls
Containing Type
RelativePanel

Syntax

public static bool GetAlignHorizontalCenterWithPanel(AvaloniaObject obj)

Parameters

Name Type Description
obj AvaloniaObject The object from which the property value is read.

Return Value

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