X Property
Collapse the table of content
Expand the table of content

TranslateTransform::X Property

 

Gets or sets the distance to translate along the x-axis.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

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

Property Value

Type: System::Double

The distance to translate (move) an object along the x-axis. The default value is 0.

Negative values move an object to the left; positive values move an object to the right.

Identifier field

XProperty

Metadata properties set to true

None

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