←Select platform

onLongPress Method

Summary

Occurs when the user perform a long press on the target view, this method fires the InteractiveSimpleOnGestureListener.onLongPress event.

Syntax

C#
VB
Java
protected void onLongPress(  
   MotionEvent e 
) 
Protected Sub onLongPress( _ 
   ByVal e As MotionEvent _ 
)  
protected void onLongPress(MotionEvent e) 

Parameters

e
The motion event data.

Remarks

The onLongPress method allows derived classes to handle the event without attaching a function to the event. This is the preferred technique for handling the event in a derived class. Note to Inheritors: When overriding onLongPress in a derived class, be sure to call the base class's onLongPress method so that registered delegates receive the event.

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)