enableHold Property


Indicates whether Hold events should fire.


JavaScript Syntax
Object.defineProperty(InteractiveService.prototype, 'enableHold', 
	get: function(), 
	set: function(value) 
TypeScript Syntax
enableHold: boolean; 

Property Value

true if Hold events should fire; otherwise, it is false. Default value is false.


If the value of EnableHold is true, then the service will fire the Hold event if the user clicks and holds the mouse or presses 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.


Target Platforms

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

Leadtools.Controls Assembly