TouchDevice.GetTouchPoint Method (IInputElement)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the current position of the touch device relative to the specified element.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

public abstract TouchPoint GetTouchPoint(
	IInputElement relativeTo
)

Parameters

relativeTo
Type: System.Windows.IInputElement

The element that defines the coordinate space.

Return Value

Type: System.Windows.Input.TouchPoint

The current position of the touch device relative to the specified element.

.NET Framework
Available since 4.0
Return to top
Show: