RelativePanel.

GetAlignTopWith(AvaloniaObject) Method

Summary

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

Syntax

[ResolveByName]
public static object GetAlignTopWith(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 value to set. (The element to align this element's top edge with.)