RotateTransform.CenterY RotateTransform.CenterY RotateTransform.CenterY RotateTransform.CenterY Property

Definition

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

public : double CenterY { get; set; }
double CenterY();

void CenterY(double centery);
public double CenterY { get; set; }
Public ReadWrite Property CenterY As double
<RotateTransform CenterY="double"/>

Property Value

double double

The y-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.