GetAlignVerticalCenterWithPanel Method
Gets the value of the RelativePanel.AlignVerticalCenterWithPanel XAML attached property for the target element.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static bool GetAlignVerticalCenterWithPanel(
AvaloniaObject obj
)
Public Shared Function GetAlignVerticalCenterWithPanel (
obj As AvaloniaObject
) As Boolean
static member GetAlignVerticalCenterWithPanel :
obj : AvaloniaObject -> bool
Parameters
- AvaloniaObject
- The object from which the property value is read.
Return Value
Boolean
The RelativePanel.AlignVerticalCenterWithPanel XAML attached property value of the specified object. (true to vertically center this element in the panel; otherwise, false.)