ElementCompositionPreview.GetPointerPositionPropertySet(UIElement) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取相對於 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
指標位置相對於的專案。
傳回
指標的位置屬性。