Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DragEventHandler Delegate
Collapse the table of content
Expand the table of content

DragEventHandler Delegate

Represents a method that handles drag-and-drop events (DragEnter, DragLeave, DragOver, and Drop).

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

public delegate void DragEventHandler (
	Object sender,
	DragEventArgs e
)
/** @delegate */
public delegate void DragEventHandler (
	Object sender, 
	DragEventArgs e
)
In XAML, you can use delegates but you cannot define your own.

Parameters

sender

The current element along the event's route.

e

A DragEventArgs object containing the arguments associated with the drag and drop event.

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

Community Additions

ADD
Show:
© 2015 Microsoft