Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

X (TranslateTransform)

Silverlight

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

<object X="Double"  .../>
value = object.X
object.X = value

Type: Double

The distance to translate (move) an object along the x-axis, in pixels.

This property is read/write. The default value is 0.

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

You can also offset the local 0,0 for an object on a Canvas by using the Canvas.Left and Canvas.Top properties. However, this does not count as a transform because the object retains its own local 0,0 for transform purposes.

Community Additions

ADD
Show:
© 2014 Microsoft