CenterX (ScaleTransform)
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
TOC
Collapse the table of content
Expand the table of content

CenterX (ScaleTransform)

Silverlight

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

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

Type: Double

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

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

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.

Community Additions

ADD
Show:
© 2016 Microsoft