ESRI.ArcGIS.Mobile
MapMouseEventArgs Constructor
See Also  Send Feedback
ESRI.ArcGIS.Mobile Namespace > MapMouseEventArgs Class : MapMouseEventArgs Constructor

button
One of the MouseButtons values indicating which mouse button was pressed.
clicks
The number of times a mouse button was pressed.
x
The x-coordinate of a mouse click, in pixels.
y
The y-coordinate of a mouse click, in pixels.
delta
A signed count of the number of detents the wheel has rotated.
mapCoordinate
Coordinate representing X and Y coordinates using current spatial reference.
Initializes a new instance of MapMouseEventArgs.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal button As MouseButtons, _
   ByVal clicks As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal delta As Integer, _
   ByVal mapCoordinate As Coordinate _
)
C# 
public MapMouseEventArgs( 
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta,
   Coordinate mapCoordinate
)

Parameters

button
One of the MouseButtons values indicating which mouse button was pressed.
clicks
The number of times a mouse button was pressed.
x
The x-coordinate of a mouse click, in pixels.
y
The y-coordinate of a mouse click, in pixels.
delta
A signed count of the number of detents the wheel has rotated.
mapCoordinate
Coordinate representing X and Y coordinates using current spatial reference.

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

© 2013 All Rights Reserved.