'Declaration Public Event PressAndTapGesture As PressAndTapGestureHandler
public event PressAndTapGestureHandler PressAndTapGesture
The event handler receives an argument of type PressAndTapGestureEventArgs containing data related to this event. The following PressAndTapGestureEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Gesture | Returns a constant identifying the gesture which triggered this event. |
Handled (Inherited from Infragistics.Win.Touch.GestureEventArgs) | Returns or sets a boolean value indicating whether the event has been handled. |
HorizontalDelta | Returns the horizontal delta for this event. |
PressLocation | Returns the location of the pressed point for this gesture. |
SendMouseDown | Returns or sets a boolean value indicating whether the control's MouseDown event is raised in response to this event. |
TapLocation | Returns the location of the tapped point for this gesture. |
VerticalDelta | Returns the vertical delta for this event. |
The press-and-tap gesture occurs when the user holds one finger stationary on the touch surface while tapping a second finger.
The location of the pressed point and the tapped point are provided via the PressLocation and TapLocation property of the event arguments, respectively.
An application typically uses this event to display a context menu.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2