allowDrop Property (ImageViewer)

Summary

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

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'allowDrop', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize