RelativePanelSetAlignHorizontalCenterWithPanel Method
Sets the value of the RelativePanel.Above XAML attached property for a target element.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetAlignHorizontalCenterWithPanel(
AvaloniaObject obj,
bool value
)
Public Shared Sub SetAlignHorizontalCenterWithPanel (
obj As AvaloniaObject,
value As Boolean
)
static member SetAlignHorizontalCenterWithPanel :
obj : AvaloniaObject *
value : bool -> unit
Parameters
- obj AvaloniaObject
- The object to which the property value is written.
- value Boolean
-
The value to set. (true to horizontally center this element in the panel; otherwise,
false.)