DragDropEffects Enumeration

 
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.

Specifies the effects of a drag-and-drop operation.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum DragDropEffects

Member nameDescription
All

The data is copied, removed from the drag source, and scrolled in the drop target.

Copy

The data is copied to the drop target.

Link

The data from the drag source is linked to the drop target.

Move

The data from the drag source is moved to the drop target.

None

The drop target does not accept the data.

Scroll

Scrolling is about to start or is currently occurring in the drop target.

.NET Framework
Available since 3.0
Return to top
Show: