Share via

VisualElement.TranslationY Property


Gets or sets the Y translation delta of the element.

public double TranslationY { get; set; }
member this.TranslationY : double with get, set

Property Value


The amount to translate the element.


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.

Applies to