TouchEventArgs.GetTouchPoint Method (IInputElement)

.NET Framework (current version)
 

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

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

Public Function GetTouchPoint (
	relativeTo As IInputElement
) As TouchPoint

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: