Share via


GestureRecognizer.PivotCenter 屬性

定義

取得或設定偵測到單一指標輸入時旋轉互動的中心點。

如需此 API 的詳細資訊,請參閱 UWP WinRT PivotCenter 主題。

public:
 property Point PivotCenter { Point get(); void set(Point value); };
Point PivotCenter();

void PivotCenter(Point value);
public Point PivotCenter { get; set; }
var point = gestureRecognizer.pivotCenter;
gestureRecognizer.pivotCenter = point;
Public Property PivotCenter As Point

屬性值

旋轉中心的螢幕位置,以裝置無關的圖元 (DIP) 。

適用於