GetAlignHorizontalCenterWith Method
Gets the value of the RelativePanel.AlignHorizontalCenterWith XAML attached property for the target element.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
[ResolveByNameAttribute]
public static Object GetAlignHorizontalCenterWith(
AvaloniaObject obj
)
<ResolveByNameAttribute>
Public Shared Function GetAlignHorizontalCenterWith (
obj As AvaloniaObject
) As Object
[<ResolveByNameAttribute>]
static member GetAlignHorizontalCenterWith :
obj : AvaloniaObject -> Object
Parameters
- AvaloniaObject
- The object from which the property value is read.
Return Value
Object
The RelativePanel.AlignHorizontalCenterWith XAML attached property value of the specified object. (The element to align this element's horizontal center with.)