Breyta

Deila með


Rectangle.Y Property

Definition

Gets or sets the y-coordinate of the upper-left corner of this Rectangle structure.

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

Property Value

The y-coordinate of the upper-left corner of this Rectangle structure. The default is 0.

Remarks

Changing the Y property will also cause a change in the Bottom property of the Rectangle.

Applies to