PointerRoutedEventArgs.GetIntermediatePoints(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 a collection of PointerPoint objects that represent the pointer history from the last pointer event up to and including the current pointer event. Each PointerPoint in the collection provides basic info about the pointer associated with the event. The last item in the collection is equivalent to the PointerPoint 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);
function getIntermediatePoints(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
The collection of PointerPoint 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.