RelativePanelSetAlignTopWith Method
Sets the value of the RelativePanel.AlignTopWith XAML attached property for a target element.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
[ResolveByNameAttribute]
public static void SetAlignTopWith(
AvaloniaObject obj,
Object value
)
<ResolveByNameAttribute>
Public Shared Sub SetAlignTopWith (
obj As AvaloniaObject,
value As Object
)
[<ResolveByNameAttribute>]
static member SetAlignTopWith :
obj : AvaloniaObject *
value : Object -> unit
Parameters
- obj AvaloniaObject
- The object to which the property value is written.
- value Object
- The value to set. (The element to align this element's top edge with.)