CompositeTransform.Rotation Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the angle, in degrees, of clockwise rotation.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Property Rotation As Double
public double Rotation { get; set; }
<CompositeTransform Rotation="double"/>
Property Value
Type: System..::.Double
The angle, in degrees, of clockwise rotation. The default is 0.
Remarks
Dependency property identifier field: RotationProperty
You can use the CenterX and CenterY properties to set the center of rotation for the object. For example, if you wanted a 100 by 100 square to pivot around its center, you would set the CenterX and CenterY properties to 50.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone