UIElement.Rotation Property
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.
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);
C#
public float Rotation { get; set; }
var single = uIElement.rotation;
uIElement.rotation = single;
Public Property Rotation As Single
Single
float
The angle of clockwise rotation, in degrees.
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Product | Versions |
---|---|
WinRT | Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |