Visual.RotationAngle 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.
The rotation angle in radians of the visual. Animatable.
public:
property float RotationAngle { float get(); void set(float value); };
float RotationAngle();
void RotationAngle(float value);
public float RotationAngle { get; set; }
var single = visual.rotationAngle;
visual.rotationAngle = single;
Public Property RotationAngle As Single
Property Value
Single
float
The rotation angle in radians of the visual.
Remarks
To use degrees instead of radians use RotationAngleInDegrees.
Visual supports two forms of rotation, by axis-angle, and by orientation.
This property can be animated. Call CompositionObject.StartAnimation to associate it with a CompositionAnimation.