RotateTransform.CenterY Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the y-coordinate of the rotation center point for this transformation.
public:
property double CenterY { double get(); void set(double value); };
double CenterY();
void CenterY(double value);
public double CenterY { get; set; }
var double = rotateTransform.centerY;
rotateTransform.centerY = double;
Public Property CenterY As Double
<RotateTransform CenterY="double"/>
Property Value
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.