| Visual Basic (Declaration) | |
|---|---|
Public Event Drop As DragEventHandler  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As DragDropBehavior Dim handler As DragEventHandler AddHandler instance.Drop, handler  | |
| C# | |
|---|---|
public event DragEventHandler Drop  | |
| Delphi | |
|---|---|
public event Drop: DragEventHandler;  | |
| JScript | |
|---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own.  | |
| Managed Extensions for C++ | |
|---|---|
public: __event DragEventHandler* Drop  | |
| C++/CLI | |
|---|---|
public: event DragEventHandler^ Drop  | |
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 | 
|---|---|
| AllowedEffects | Gets allowed effects. | 
| Data | Gets data carried. | 
| Effects | Gets current drag effects. | 
| Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| KeyStates | Gets current key states. | 
| OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
| Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | 
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family