共用方式為


ElementCompositionPreview.GetPointerPositionPropertySet(UIElement) 方法

定義

擷取相對於 UIElement 的指標位置。

public:
 static CompositionPropertySet ^ GetPointerPositionPropertySet(UIElement ^ targetElement);
 static CompositionPropertySet GetPointerPositionPropertySet(UIElement const& targetElement);
public static CompositionPropertySet GetPointerPositionPropertySet(UIElement targetElement);
function getPointerPositionPropertySet(targetElement)
Public Shared Function GetPointerPositionPropertySet (targetElement As UIElement) As CompositionPropertySet

參數

targetElement
UIElement

指標位置相對於的專案。

傳回

指標的位置屬性。

適用於