PointerRoutedEventArgs.GetIntermediatePoints(UIElement) Method

Definition

Retrieves a collection of ExpPointerPoint objects that represent the pointer history from the last pointer event up to and including the current pointer event. Each ExpPointerPoint in the collection provides basic info on the pointer associated with the event.The last item in the collection is equivalent to the ExpPointerPoint object returned by GetCurrentPoint.

public:
 virtual IVector<ExpPointerPoint ^> ^ GetIntermediatePoints(UIElement ^ relativeTo) = GetIntermediatePoints;
public:
 virtual IVector<PointerPoint ^> ^ GetIntermediatePoints(UIElement ^ relativeTo) = GetIntermediatePoints;
IVector<ExpPointerPoint> GetIntermediatePoints(UIElement const& relativeTo);
IVector<PointerPoint> GetIntermediatePoints(UIElement const& relativeTo);
public IList<ExpPointerPoint> GetIntermediatePoints(UIElement relativeTo);
public IList<PointerPoint> GetIntermediatePoints(UIElement relativeTo);
Public Function GetIntermediatePoints (relativeTo As UIElement) As IList(Of ExpPointerPoint)
Public Function GetIntermediatePoints (relativeTo As UIElement) As IList(Of PointerPoint)

Parameters

relativeTo
UIElement

Provides the context for the pointer data. Can be any UIElement -derived object that is connected to the same object tree. If null, location coordinates are in the context of the app.

Returns

Windows.Foundation.Collections.IVector<ExpPointerPoint>

IList<ExpPointerPoint>

Windows.Foundation.Collections.IVector<PointerPoint>

IList<PointerPoint>

The collection of ExpPointerPoint objects corresponding to the pointer history associated with the event. If relativeTo is null, location coordinates are in the context of the app. Otherwise, the coordinates are relative to the object referenced by relativeTo.

Applies to