コード例 #1
0
 Point IRightTappedEventArgsResolver.Position(RightTappedEventArgs e) => e.Position;
コード例 #2
0
 PointerDeviceType IRightTappedEventArgsResolver.PointerDeviceType(RightTappedEventArgs e) => e.PointerDeviceType;
コード例 #3
0
 /// <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);
コード例 #4
0
 /// <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);
コード例 #5
0
 /// <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);
コード例 #6
0
 private void GestureRecognizer_RightTapped(GestureRecognizer sender, RightTappedEventArgs args)
 {
     TxtGestureNotes.Text = "Right Tap gesture recognized";
 }