Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DragEventArgs.Effects Property

 

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:
© 2017 Microsoft