Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 4
 OnDragDrop Method
Collapse All/Expand All Collapse All
.NET Framework Class Library
ParentControlDesigner..::.OnDragDrop Method

Called when a drag-and-drop object is dropped onto the control designer view.

Namespace:  System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)
Visual Basic
Protected Overrides Sub OnDragDrop ( _
    de As DragEventArgs _
)
C#
protected override void OnDragDrop(
    DragEventArgs de
)
Visual C++
protected:
virtual void OnDragDrop(
    DragEventArgs^ de
) override
F#
abstract OnDragDrop : 
        de:DragEventArgs -> unit 
override OnDragDrop : 
        de:DragEventArgs -> unit 

Parameters

de
Type: System.Windows.Forms..::.DragEventArgs
A DragEventArgs that provides data for the event.

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

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

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker