DragEventArgs.Effects Property


Gets or sets the target drag-and-drop operation.

Namespace:   System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

member Effects : DragDropEffects with get, set

Property Value

Type: System.Windows.DragDropEffects

A member of the DragDropEffects enumeration specifying the target drag-and-drop operation.

By default, the effect specified in this property determines the mouse cursor for the target of a drag-and-drop operation. This is useful to provide feedback to the user on the operation that will occur when the corresponding object is dropped.

.NET Framework
Available since 3.0
Return to top