RelativePanel.

SetAlignTopWithPanel(AvaloniaObject, bool) Method

Summary

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

Syntax

public static void SetAlignTopWithPanel(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 align this element's top edge with the panel's top edge; otherwise, false.)

Return Value

Type Description
void