hold Event

Summary

Occurs when the user taps and holds with the mouse or a finger.

Syntax
TypeScript
JavaScript
Object.defineProperty(InteractiveService.prototype,'hold',  
	get: function(), 
	set: function(value) 
) 
hold: LeadEvent; 
Remarks

The Hold event will fire only when EnableHold is set to true and when the following occurs:

On a device that supports mouse: When the user presses down the left mouse button and the pointer is over an EventsTarget and holds without moving for specific amount of time specified by the HoldDelay property. On a device that supports touch: When the user presses a finger down on an EventsTarget and holds without moving for specific amount of time specified by the HoldDelay property.

The Hold event is used usually on touch devices to show a context menu.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
eInteractiveEventArgsThe event data.
Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.