Click or drag to resize
PointerRoutedEventArgsGetCurrentPoint Method
Returns the pointer position for this event occurrence, optionally evaluated against a coordinate origin of a supplied UIElement.

Namespace: Windows.UI.Xaml.Input
Assembly: CSharpXamlForHtml5 (in CSharpXamlForHtml5.dll) Version: 1.0.0.0
Syntax
C#
public PointerPoint GetCurrentPoint(
	UIElement relativeTo
)

Parameters

relativeTo
Type: Windows.UI.XamlUIElement
Any UIElement-derived object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.

Return Value

Type: PointerPoint
A PointerPoint value that represents the pointer point associated with this event. If null was passed as relativeTo, the coordinates are in the frame of reference of the overall window. If a non-null relativeTo was passed, the coordinates are relative to the object referenced by relativeTo.
See Also