This documentation is archived and is not being maintained.

DragEventArgs.Effects Property

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

Namespace: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public DragDropEffects Effects { get; set; }
/** @property */
public DragDropEffects get_Effects ()

/** @property */
public void set_Effects (DragDropEffects value)

public function get Effects () : DragDropEffects

public function set Effects (value : DragDropEffects)

Members of this class are either not typically used in XAML, or cannot be used in XAML.

Property Value

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.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: