Rect.Y property

Applies to Windows and Windows Phone

Gets or sets the y-axis value of the top side of the rectangle.

Syntax


public double Y { get; set; }

Property value

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

The y-axis value of the top side of the rectangle. The data type is System.Double for C# or Visual Basic, or float for C++/CX. This value is interpreted as pixels within the coordinate space.

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