ESRI.ArcGIS.ADF.Tasks
DragEnter Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.Tasks.Design.Editors Namespace > QueryAttributesEditorForm Class : DragEnter Event




Syntax

Visual Basic (Declaration) 
<SRDescriptionAttribute("Occurs when the mouse drags an item into the client area for this Control.")>
<SRCategoryAttribute("Drag Drop")>
Public Event DragEnter As DragEventHandler
Visual Basic (Usage)Copy Code
Dim instance As QueryAttributesEditorForm
Dim handler As DragEventHandler
 
AddHandler instance.DragEnter, handler
C# 
[SRDescriptionAttribute("Occurs when the mouse drags an item into the client area for this Control.")]
[SRCategoryAttribute("Drag Drop")]
public event DragEventHandler DragEnter

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.

PropertyDescription
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.