TranslateTransform.X property

Applies to Windows and Windows Phone

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

Syntax


public double X { get; set; }


<TranslateTransform X="double"/>

Property value

Type: System.Double [.NET] | float64 [C++]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media
Windows::UI::Xaml::Media [C++]

Metadata

Windows.winmd

See also

TranslateTransform

 

 

Show:
© 2014 Microsoft