Editare

Partajați prin


Rect.Y Property

Definition

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

public:
 property double Y { double get(); void set(double value); };
public double Y { get; set; }
member this.Y : double with get, set
Public Property Y As Double

Property Value

The y-axis value of the top side of the rectangle. This value is interpreted as pixels within the coordinate space.

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.Y in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)

Applies to