Skip to main content

GetTop Method

Gets the value of the Top attached property for a control.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public static double GetTop(
AvaloniaObject element
)

Parameters

  AvaloniaObject
The control.

Return Value

Double
The control's top coordinate.

See Also

Reference

Canvas Class
Avalonia.Controls Namespace