Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.Rotation Property

Gets or sets the rotation about the Z-axis (affine rotation) when the element is rendered.

Syntax

public Double Rotation { get; set; }

Value

The rotation about the Z-axis in degrees.

Remarks

Rotation is applied relative to VisualElement.AnchorX and VisualElement.AnchorY.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0