Export (0) Print
Expand All

CompositeTransform.Rotation Property

Silverlight

Gets or sets the angle, in degrees, of clockwise rotation.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

public double Rotation { get; set; }
<CompositeTransform Rotation="double"/>

Property Value

Type: System.Double
The angle, in degrees, of clockwise rotation. The default is 0.

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.

Silverlight

Supported in: 5, 4

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft