Partager via


CenterY (ScaleTransform)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Property Value

Type: Double

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

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

Managed Equivalent

CenterY

Remarks

The local origin point 0,0 for an object can be offset on a Canvas by using the Canvas.Left and Canvas.Top properties, but this does not count as a transform because the object retains its own local origin for transformation purposes.

Applies To

ScaleTransform