Leadtools.Controls Namespace > InteractiveService Object : EnableSelection Property |
get_enableSelection();
set_enableSelection(value);
Object.defineProperty('enableSelection');
Type | Description |
---|---|
boolean | 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.