enableSelection Property

Summary

Indicates whether selection of HTML elements is enabled.

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

Property Value

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

Remarks

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.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly