[]
Gets the position of the pointer performing the drag gesture relatively to the specified element.
public Point GetPosition(View relativeTo)
Type | Name | Description |
---|---|---|
View | relativeTo | Any visual 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. |
Type | Description |
---|---|
Point |
Gets the position of the pointer or finger.
public static Point GetPosition(object args, View relativeTo)
Type | Name | Description |
---|---|---|
object | args | The OriginalEventArgs instance containing the manipulation data. |
View | relativeTo | Any visual 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. |
Type | Description |
---|---|
Point |