Canvas.

GetTop(AvaloniaObject) Method

Summary

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

Syntax

public static double GetTop(AvaloniaObject element)

Parameters

Name Type Description
element AvaloniaObject The control.

Return Value

Type Description
double The control's top coordinate.