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 double X { 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
© 2016 Microsoft