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:
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: