共用方式為


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 屬性也會改變 Bottom 的屬性 Rectangle

適用於