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 22.0.2023.2.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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