UIElement.CenterPoint 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定元素的中心點,即旋轉或縮放發生的中心點。 會影響元素的渲染位置。
public:
property float3 CenterPoint { float3 get(); void set(float3 value); };
float3 CenterPoint();
void CenterPoint(float3 value);
public Vector3 CenterPoint { get; set; }
var vector3 = uIElement.centerPoint;
uIElement.centerPoint = vector3;
Public Property CenterPoint As Vector3
屬性值
元素的中心點,也就是旋轉或縮放發生的中心點。