Point::X Property

 

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

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public:
property double X {
	double get();
	void set(double value);
}

Property Value

Type: System::Double

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

The following example shows how to check if two Point structures are not equal. It also illustrates how to assign values to a Point structure when the structure is being declared and after the structure has been declared.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: