Canvas.

SetTop(AvaloniaObject, double) Method

Summary

Sets the value of the Top attached property for a control.
Namespace
Avalonia.Controls
Containing Type
Canvas

Syntax

public static void SetTop(AvaloniaObject element, double value)

Parameters

Name Type Description
element AvaloniaObject The control.
value double The top value.

Return Value

Type Description
void