CompositeTransform.TranslateX Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

Syntax

Public Property TranslateX As Double
public double TranslateX { get; set; }
<CompositeTransform TranslateX="double"/>

Property Value

Type: System..::.Double
The distance to translate (move) an object along the x-axis, in pixels. This property is read/write. The default is 0.

Remarks

Dependency property identifier field: TranslateXProperty

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

CompositeTransform Class

System.Windows.Media Namespace