DragEventArgs.Effects Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public DragDropEffects Effects { 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
Show: