Point IRightTappedEventArgsResolver.Position(RightTappedEventArgs e) => e.Position;
PointerDeviceType IRightTappedEventArgsResolver.PointerDeviceType(RightTappedEventArgs e) => e.PointerDeviceType;
/// <summary> /// Gets the number of contact points at the time the <see cref="GestureRecognizer.RightTapped"/> event is recognized. /// </summary> /// <param name="e">The requested <see cref="RightTappedEventArgs"/>.</param> /// <returns>The number of contact points.</returns> public static uint ContactCount(this RightTappedEventArgs e) => Resolver.ContactCount(e);
/// <summary> /// Gets the location of the touch, mouse, or pen/stylus contact. /// </summary> /// <param name="e">The requested <see cref="RightTappedEventArgs"/>.</param> /// <returns>The screen coordinates, in device-independent pixel (DIP).</returns> public static Point Position(this RightTappedEventArgs e) => Resolver.Position(e);
/// <summary> /// Gets the device type of the input source. /// </summary> /// <param name="e">The requested <see cref="RightTappedEventArgs"/>.</param> /// <returns>The device type.</returns> public static PointerDeviceType PointerDeviceType(this RightTappedEventArgs e) => Resolver.PointerDeviceType(e);
private void GestureRecognizer_RightTapped(GestureRecognizer sender, RightTappedEventArgs args) { TxtGestureNotes.Text = "Right Tap gesture recognized"; }