allowDrop Property

Summary

Indicates whether the viewer can accept data that the user drags onto it.

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

Property Value

true if the viewer can accept data that the user drags onto it, otherwise; false. Default value is false.

Remarks

You must set the value of AllowDrop to true before using this ImageViewer as the target of a drag and drop operation. For more information, refer to Image Viewer Drag and Drop.

Example

For an example, refer to ItemDragDrop.

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