Y Property (TranslateTransform)

Gets or sets the distance to translate (move) an object along the y-axis.

XAML
<object Y="Double" .../>
Scripting
value = object.Y
object.Y = value

Property Value

Double

The distance to translate (move) an object along the y-axis.

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

Remarks

Negative values move an object up; positive values move an object down.

The local 0,0 for an object can be offset on a Canvas using Canvas.Left and Canvas.Top, but this does not count as a transform; the object retains its own local 0,0 in this case for transform purposes. For details on this concept, see Object Layout in Silverlight.

Applies To

TranslateTransform

See Also

Silverlight Transforms Overview
Object Layout in Silverlight