←Select platform

Tap Event

Summary

Occurs when the user performs a tap operation with either the mouse or a finger.

Syntax

C#
VB
WinRT C#
public event EventHandler<InteractiveEventArgs> Tap 
Public Event Tap As EventHandler(Of InteractiveEventArgs) 
public event EventHandler<InteractiveEventArgs> Tap 
add_Tap(function(sender, e)) 
remove_Tap(function(sender, e)) 

Event Data

The event handler receives an argument of type InteractiveEventArgs containing data related to this event. The following InteractiveEventArgs properties provide information specific to this event.

PropertyDescription
NativeEventArgs Gets or sets the native Windows Runtime event associated with this event.
Origin Gets or sets the original mouse or touch position.
Position Gets or sets the current mouse or touch position.
Remarks

The Tap event will fire when any of the following occurs:

  • When the user presses down the left button and the mouse is over a TargetElement.
  • When the user presses and then releases the left button and the mouse is over a TargetElement.
  • When the user presses a finger down on TargetElement.
  • When the user presses and then releases a finger on a TargetElement.

InteractiveEventArgs

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)