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




Syntax

Visual Basic (Declaration) 
<SRCategoryAttribute("Mouse")>
<SRDescriptionAttribute("Occurs when the mouse pointer is over the component and a mouse button is pressed.")>
Public Event MouseDown As MouseEventHandler
Visual Basic (Usage)Copy Code
Dim instance As QueryAttributesEditorForm
Dim handler As MouseEventHandler
 
AddHandler instance.MouseDown, handler
C# 
[SRCategoryAttribute("Mouse")]
[SRDescriptionAttribute("Occurs when the mouse pointer is over the component and a mouse button is pressed.")]
public event MouseEventHandler MouseDown

Event Data

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

PropertyDescription
Button Gets which mouse button was pressed.
Clicks Gets the number of times the mouse button was pressed and released.
Delta Gets a signed count of the number of detents the mouse wheel has rotated. A detent is one notch of the mouse wheel.
Location Gets the location of the mouse during the generating mouse event.
X Gets the x-coordinate of the mouse during the generating mouse event.
Y Gets the y-coordinate of the mouse during the generating mouse event.

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.