RotateTransform.CenterX Property

Definition

Gets or sets the x-coordinate of the rotation center point for this transformation.

C#
public double CenterX { get; set; }
XAML
<RotateTransform CenterX="double"/>

Property Value

Double

The x-coordinate of the center of rotation, in pixels within the transform's frame of reference. The default is 0.

Remarks

When a RotateTransform is applied as the RenderTransform for a UIElement, the RenderTransformOrigin can also affect how the transformation behaves. In particular this affects the center point that the UIElement rotates around. For more info, see Remarks in RotateTransform.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6