'Declaration <DescriptionAttribute("Raised when a drag-and-drop operation is completed.")> <CategoryAttribute("Drag Drop")> Public Event DragDrop As DragEventHandler
'Usage Dim instance As VisualGridElement Dim handler As DragEventHandler AddHandler instance.DragDrop, handler
[Description("Raised when a drag-and-drop operation is completed.")] [Category("Drag Drop")] public event DragEventHandler DragDrop
Event Data
The event handler receives an argument of type DragEventArgs containing data related to this event. The following DragEventArgs properties provide information specific to this event.
Property | Description |
---|---|
AllowedEffect | |
Data | |
Effect | |
KeyState | |
X | |
Y |
Remarks
In order for the DragDrop event to be raised, AllowDropand the grid's System.Windows.Forms.Control.AllowDrop property must both be set to true.
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