Redigera

Dela via


Point.X Property

Definition

Gets or sets the X-coordinate value of this Point struct.

public:
 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

Property Value

The X-coordinate value of this Point struct. The default value is 0.

Remarks

This struct represents the .NET projection of the Windows Runtime (WinRT) Point struct. For more information, see Point in the UWP API reference.

For more information and examples of this member, see Point.X in the .NET Framework API reference. (Examples show WPF usage and might not translate directly to UWP XAML.)

Applies to