Dela via


UIElement.Translation Property

Definition

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

public:
 property float3 Translation { float3 get(); void set(float3 value); };
float3 Translation();

void Translation(float3 value);
public Vector3 Translation { get; set; }
var vector3 = uIElement.translation;
uIElement.translation = vector3;
Public Property Translation As Vector3

Property Value

Vector3 Vector3

float3

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