UIElement.Translation Eigenschaft

Definition

Ruft die x-, y- und z-Renderingposition des Elements ab oder legt diese fest.

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

Eigenschaftswert

Vector3 Vector3

float3

Die Renderingposition x, y und z des Elements.

Windows-Anforderungen

Gerätefamilie
Windows 10, version 1809 (eingeführt in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v7.0)

Gilt für: