UIElement.Scale 屬性

定義

取得或設定專案的刻度。 相對於專案的 CenterPoint 進行調整。 影響專案的轉譯位置。

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

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

屬性值

Vector3 Vector3

float3

元素的縮放比例,相對於專案的 CenterPoint。

Windows 需求

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

適用於