VisualElement.TranslationX Property

Definition

Gets or sets the X translation delta of the element. This is a bindable property.

public:
 property double TranslationX { double get(); void set(double value); };
public double TranslationX { get; set; }
member this.TranslationX : double with get, set
Public Property TranslationX As Double

Property 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.

Applies to