Called when a drag-and-drop object is dropped onto the control designer view.
Protected Overrides Sub OnDragDrop ( _ de As DragEventArgs _ )
protected override void OnDragDrop( DragEventArgs de )
protected: virtual void OnDragDrop( DragEventArgs^ de ) override
abstract OnDragDrop : de:DragEventArgs -> unit override OnDragDrop : de:DragEventArgs -> unit
This method checks any parent control for a drag-and-drop handler that can handle the operation instead. If one exists, this method passes the DragEventArgs to the method and returns. If no parent drag-and-drop handler exists, this method attempts to create a tool if a toolbox item has been dropped on the designer control.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2