UIElement.Translation Property

Definition

Gets or sets the x, y, and z rendering position of the element.

C#
public Vector3 Translation { get; set; }

Property Value

Vector3

The x, y, and z rendering position of the element.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to

Product Versions
WinRT Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100