Rect.Top property

Applies to Windows and Windows Phone

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

Syntax


public double Top { get; }

Property value

Type: System.Double [.NET] | float [C++]

The y-axis position of the top of the rectangle. The data type is System.Double for C# or Visual Basic, or float for C++/CX.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Platform.winmd

Assembly

System.Runtime.WindowsRuntime.dll

See also

Rect

 

 

Show:
© 2014 Microsoft