Gets or sets the number of degrees to rotate the object around the z-axis of rotation.
Assembly: System.Windows (in System.Windows.dll)
Dependency property identifier field: RotationZProperty
The RotationX, RotationY, and properties specify the number of degrees to rotate the object in space. For example, the RotationX property specifies rotating around the horizontal axis of the object. The following illustration demonstrates how the RotationX property rotates an object around the x-axis of rotation.
The RotationY property rotates around a line drawn vertically along the object (the y-axis of rotation).
The property rotates around a line perpendicular to the object (a line that goes directly through the plane of the object).
These rotation properties can specify a negative value, which rotates the object a number of degrees in the opposite direction. In addition, the absolute number can be greater than 360, which rotates the object more than one full rotation.
The following sample allows you to experiment with the different rotation properties.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.