Intersoft WebDesktop Documentation
DragDrop Event
See Also  Send Feedback
ISNet.WebUI.WebDesktop Namespace > WebDragDropExtender Class : DragDrop Event


Glossary Item Box

Fires when a drag and drop operation has been performed successfully.

Syntax

Visual Basic (Declaration) 
Public Event DragDrop As EventHandler(Of WebDragDropEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As WebDragDropExtender
Dim handler As EventHandler(Of WebDragDropEventArgs)
 
AddHandler instance.DragDrop, handler
C# 
public event EventHandler<WebDragDropEventArgs> DragDrop

Event Data

The event handler receives an argument of type WebDragDropEventArgs containing data related to this event. The following WebDragDropEventArgs properties provide information specific to this event.

PropertyDescription
AllowedEffects Specifies the allowed effects of a drag operation.
Data Specifies the data associated with a drag control.
DragControl Gets or sets the collection of drag-able controls.
Effect Specifies the effect which applies to the drop object during drag drop operation.
EffectText Gets or sets the displayed text when a valid drag object is hovered on this drop control.
KeyState Gets and sets the key state in the current context of drag operation. Key state can be combination of Ctrl, Alt, and Shift.
X Gets the X point of mouse cursor relative to the document.
Y Gets the Y point of mouse cursor relative to the document.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2012 Intersoft Solutions Corp. All Rights Reserved.