CenterX Property (ScaleTransform)

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

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

Property Value

Double

The x-coordinate of the center point of the 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