GetPosition(UIElement) Method
In This Topic
Gets the position of the pointer performing the drag gesture relatively to the specified element.
Syntax
'Declaration
Public Overloads Function GetPosition( _
ByVal As Windows.UI.Xaml.UIElement _
) As Windows.Foundation.Point
public Windows.Foundation.Point GetPosition(
Windows.UI.Xaml.UIElement
)
Parameters
- relativeTo
- 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.
See Also