Share via


CenterY Property (ScaleTransform)

Gets or sets the y-coordinate of the center point of this ScaleTransform.

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

Property Value

Double

The y-coordinate of the center point of this ScaleTransform.

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

Remarks

The local origin point 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 origin in this case for transformation purposes. For details on this concept, see Object Layout in Silverlight.

Applies To

ScaleTransform

See Also

Silverlight Transforms Overview
Object Layout in Silverlight