UIElement.RotationAxis Property


Gets or sets the axis to rotate the element around.

Equivalent WinUI property: Microsoft.UI.Xaml.UIElement.RotationAxis.

 property float3 RotationAxis { float3 get(); void set(float3 value); };
float3 RotationAxis();

void RotationAxis(float3 value);
public Vector3 RotationAxis { get; set; }
var vector3 = uIElement.rotationAxis;
uIElement.rotationAxis = vector3;
Public Property RotationAxis As Vector3

Property Value


The axis to rotate the element around.

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