RelativePanel.

GetAlignHorizontalCenterWith(AvaloniaObject) Method

Summary

Gets the value of the RelativePanel.AlignHorizontalCenterWith XAML attached property for the target element.
Namespace
Avalonia.Controls
Containing Type
RelativePanel

Syntax

[ResolveByName]
public static object GetAlignHorizontalCenterWith(AvaloniaObject obj)

Attributes

Type Description
ResolveByNameAttribute Indicates that the property resolves an element by Name or x:Name. When applying this to attached properties, ensure to put on both the Getter and Setter methods.

Parameters

Name Type Description
obj AvaloniaObject The object from which the property value is read.

Return Value

Type Description
object The RelativePanel.AlignHorizontalCenterWith XAML attached property value of the specified object. (The element to align this element's horizontal center with.)