Point.X 屬性


取得或設定這個 Point 結構的 X 座標值。Gets or sets the X-coordinate value of this Point struct.

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



X此結構的座標值 PointThe X-coordinate value of this Point struct. 預設值為 0。The default value is 0.


此結構代表 Windows 執行階段 (WinRT) 結構的 .NET 投影 PointThis struct represents the .NET projection of the Windows Runtime (WinRT) Point struct. 如需詳細資訊,請參閱 UWP API 參考中的 For more information, see Point in the UWP API reference.

如需此成員的詳細資訊和範例,請參閱 Point.X .NET FRAMEWORK API 參考中的。For more information and examples of this member, see Point.X in the .NET Framework API reference. (範例會示範 WPF 的使用方式,而且可能無法直接轉譯成 UWP XAML。 ) (Examples show WPF usage and might not translate directly to UWP XAML.)