Export (0) Print
Expand All

TranslateTransform::X Property

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

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation

property double X {
	double get ();
	void set (double value);
<object X="double" .../>

Property Value

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

Identifier field


Metadata properties set to true


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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft