RelativePanelSetAlignTopWithPanel Method

Sets the value of the RelativePanel.AlignTopWithPanel XAML attached property for a target element.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetAlignTopWithPanel(
	AvaloniaObject obj,
	bool value
)

Parameters

obj  AvaloniaObject
The object to which the property value is written.
value  Boolean
The value to set. (true to align this element's top edge with the panel's top edge; otherwise, false.)

See Also