VisualElement.TranslationX Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the X translation delta of the element.
public double TranslationX { get; set; }
member this.TranslationX : double with get, set
Property Value
System.Double
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.