RelativePanel.

SetAlignHorizontalCenterWithPanel(AvaloniaObject, bool) Method

Summary

Sets the value of the RelativePanel.Above XAML attached property for a target element.
Namespace
Avalonia.Controls
Containing Type
RelativePanel

Syntax

public static void SetAlignHorizontalCenterWithPanel(AvaloniaObject obj, bool value)

Parameters

Name Type Description
obj AvaloniaObject The object to which the property value is written.
value bool The value to set. (true to horizontally center this element in the panel; otherwise, false.)

Return Value

Type Description
void