deselectOnDown Property

Summary

Gets or sets a value that indicates whether to de-select any objects as soon as the user clicks down with the cursor or taps using touch on the container outside their boundaries.

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

Property Value

true to de-select any objects as soon as the user clicks down on the container outside their boundaries; otherwise, false and the objects become de-selected only when the user releases the cursor or touch. The default value is true.

Remarks

In some situations, the objects should remain selected when the user first clicks or taps using touch outside their boundaries since another action might follow. For example, the LEADTOOLS Document Viewer changes the value of DeselectOnDown to false since it uses multiple interactive modes all working at the same time and the user can click outside the objects then perform a drag operation to pan or zoom the view in or out. This extra operation will be performed while the objects remain selected. The objects become de-selected only if the user clicks and then releases without any further action.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.