TranslateTransform.X Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

member X : float with get, set

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


Metadata properties set to true


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