public event System.Windows.DragEventHandler PreviewDragLeave
Event Data
The event handler receives an argument of type System.Windows.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. |
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. |
Requirements
Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
See Also