Beispiel #1
0
 /// <summary>
 ///     Retrieves the current touch point of the primary touch device, if one exists.
 /// </summary>
 /// <param name="relativeTo">Defines the coordinate space of the touch point.</param>
 /// <returns>The touch point of the primary device or null if no device is a primary device.</returns>
 public TouchPoint GetPrimaryTouchPoint(IInputElement relativeTo)
 {
     return(TouchDevice.GetPrimaryTouchPoint(relativeTo));
 }