Rectangle.Y 屬性

定義

取得或設定這個 Rectangle 結構的左上角 Y 座標。

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

屬性值

這個 Rectangle 結構左上角的 Y 座標。 預設值是 0。

備註

變更 Y 屬性也會在 的 Rectangle 屬性中 Bottom 造成變更。

適用於