'Declaration Public Event PreviewDrop As DragEventHandler
'Usage Dim instance As EditingElement Dim handler As DragEventHandler AddHandler instance.PreviewDrop, handler
public event DragEventHandler PreviewDrop
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 |
---|---|
AllowedEffects | Gets a member of the System.Windows.DragDropEffects enumeration that specifies which operations are allowed by the originator of the drag event. |
Data | Gets a data object that contains the data associated with the corresponding drag event. |
Effects | Gets or sets the target drag-and-drop operation. |
Handled | (Inherited from System.Windows.RoutedEventArgs) |
KeyStates | Gets a flag enumeration indicating the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons. |
OriginalSource | (Inherited from System.Windows.RoutedEventArgs) |
RoutedEvent | (Inherited from System.Windows.RoutedEventArgs) |
Source | (Inherited from System.Windows.RoutedEventArgs) |
See Also