Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.TranslationY Property

Gets or sets the Y translation delta of the element.

Syntax

public Double TranslationY { get; set; }

Value

The amount to translate the element.

Remarks

Translation is applied post layout. It is particularly good for applying animations. Translating an element outside the bounds of its parent container may prevent inputs from working.

Requirements

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