ScaleTransform.CenterX Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the x-coordinate of the center point of this ScaleTransform.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property CenterX As Double
public double CenterX { get; set; }
<ScaleTransform CenterX="double"/>
Property Value
Type: System..::.Double
The x-coordinate of the center point of this ScaleTransform. The default is 0.
Remarks
Dependency property identifier field: CenterXProperty
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.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone