PointerRoutedEventArgs.GetIntermediatePoints(UIElement) Method

Definition

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 on the pointer associated with the event.The last item in the collection is equivalent to the PointerPoint object returned by GetCurrentPoint.

C#
public IList<PointerPoint> GetIntermediatePoints(UIElement relativeTo);

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.

Applies to

Product Versions
WinRT Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100