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.

C#
public float Rotation { get; set; }

Property Value

Single

The angle of clockwise rotation, in degrees.

Windows requirements

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

Applies to

Product Versions
WinRT Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100