ElementCompositionPreview.GetPointerPositionPropertySet(UIElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the pointer position relative to a 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
Parameters
- targetElement
- UIElement
The element that the pointer position is relative to.
Returns
The position properties of the pointer.