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)
- C#
- VB
- F#
public static bool GetAlignHorizontalCenterWithPanel(
AvaloniaObject obj
)
Public Shared Function GetAlignHorizontalCenterWithPanel (
obj As AvaloniaObject
) As Boolean
static member GetAlignHorizontalCenterWithPanel :
obj : AvaloniaObject -> bool
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.)