UIElement.Translation 屬性

定義

取得或設定專案的 x、y 和 z 轉譯位置。

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

屬性值

Vector3 Vector3

float3

專案的 x、y 和 z 轉譯位置。

Windows 需求

裝置系列
Windows 10, version 1809 (已於 10.0.17763.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v7.0 引進)

適用於