Edit

Share via


Rect.Top Property

Definition

Gets the y-axis position of the top of the rectangle.

public:
 property double Top { double get(); };
public double Top { get; }
member this.Top : double
Public ReadOnly Property Top As Double

Property Value

The y-axis position of the top of the rectangle.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Rect struct. For more information, see Rect in the UWP API reference.

For more information and examples of this member, see Rect.Top in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)

Applies to