UIElement.Rotation Property

Definition

Gets or sets the angle of clockwise rotation, in degrees. Rotates relative to the RotationAxis and the CenterPoint. Affects the rendering position of the element.

public:
 property float Rotation { float get(); void set(float value); };
float Rotation();

void Rotation(float value);
public float Rotation { get; set; }
var single = uIElement.rotation;
uIElement.rotation = single;
Public Property Rotation As Single

Property Value

Single

The angle of clockwise rotation, in degrees.

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to