System.Windows.Forms.DragEventArgs.Effect Property

Gets or sets the target drop effect in a drag-and-drop operation.

Syntax

public DragDropEffects Effect { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, the effect applied 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. For example, if you press the CTRL key when you drag a file from a source, specify DragDropEffects.Copy to indicate the target will try to perform a copy operation.

To use custom cursors for a drag operation, see GiveFeedbackEventArgs.UseDefaultCursors.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0