Rectangle.X 属性
定义
public:
property int X { int get(); void set(int value); };
public int X { get; set; }
member this.X : int with get, set
Public Property X As Integer
属性值
此 Rectangle 结构左上角的 x 坐标。The x-coordinate of the upper-left corner of this Rectangle structure. 默认值为 0。The default is 0.
注解
更改 X 属性也会导致 Right 的属性发生更改 Rectangle 。Changing the X property will also cause a change in the Right property of the Rectangle.