←Select platform

ImageViewerItemDragDropOperation Enumeration

Summary

Current drag/drop operation.

Syntax
C#
C++/CLI
public enum ImageViewerItemDragDropOperation 
public enum class ImageViewerItemDragDropOperation sealed 
Members

0

DragEnter

(0) The object is first dragged over the item.

1

DragOver

(1) The object is dragging over the item.

2

DragLeave

(2) The object is dragged out of the item.

3

DragDrop

(3) The object is dropped on the item.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
_imageViewer.InteractiveModes.BeginUpdate(); 
ImageViewerDragInteractiveMode dragMode = new ImageViewerDragInteractiveMode(); 
dragMode.AllowedEffects = DragDropEffects.Copy | DragDropEffects.Move | DragDropEffects.Link; 
_imageViewer.InteractiveModes.Add(dragMode); 
_imageViewer.InteractiveModes.EndUpdate(); 
Requirements

Target Platforms

See Also

Reference

Leadtools.Controls Namespace

Help Version 22.0.2023.1.24
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.