Megosztás a következőn keresztül:


Visual.RotationAngle Property

Definition

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.

Applies to