enableSelection Property


Indicates whether selection of HTML elements is enabled.


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

Property Value

true if selection of HTML elements is enabled; otherwise, it is false. Default value is true.


When the value of EnableSelection is false, the service will subscribe to the HTML document selectstart event and prevents the default behavior. This will prevent the user from dragging and selecting elements on the HTML page.


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