DragOver Event
See Also 
SourceCode.Workflow.WizardFramework.Authentication Namespace > CredentialsDialog Class : DragOver Event



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<SRDescriptionAttribute("Occurs when an object is dragged over the control's bounds.")>
<SRCategoryAttribute("Drag Drop")>
Public Event DragOver As DragEventHandler
Visual Basic (Usage) Copy Code
Dim instance As CredentialsDialog
Dim handler As DragEventHandler
 
AddHandler instance.DragOver, handler
C#  
[SRDescription("Occurs when an object is dragged over the control's bounds.")]
[SRCategory("Drag Drop")]
public event DragEventHandler DragOver
C++/CLI  
[SRDescription("Occurs when an object is dragged over the control's bounds.")]
[SRCategory("Drag Drop")]
public:
event DragEventHandler^ DragOver

Event Data

The event handler receives an argument of type DragEventArgs containing data related to this event. The following DragEventArgs properties provide information specific to this event.

Property Description
AllowedEffect Gets which drag-and-drop operations are allowed by the originator (or source) of the drag event.
Data Gets the System.Windows.Forms.IDataObject that contains the data associated with this event.
Effect Gets or sets the target drop effect in a drag-and-drop operation.
KeyState Gets the current state of the SHIFT, CTRL, and ALT keys, as well as the state of the mouse buttons.
X Gets the x-coordinate of the mouse pointer, in screen coordinates.
Y Gets the y-coordinate of the mouse pointer, in screen coordinates.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also