ESRI.ArcGIS.ADF.Web.UI.WebControls
MapClick Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : MapClick Event




Occurs when the Map is clicked.

Syntax

Visual Basic (Declaration) 
<ResCategoryAttribute("Client Tool Action")>
<ResDescriptionAttribute("Raised when the control is clicked")>
Public Event MapClick As MapPointEventHandler
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim handler As MapPointEventHandler
 
AddHandler instance.MapClick, handler
C# 
[ResCategoryAttribute("Client Tool Action")]
[ResDescriptionAttribute("Raised when the control is clicked")]
public event MapPointEventHandler MapClick

Event Data

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

PropertyDescription
Control (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs) The map control.
ScreenPoint Screen point of the clicked location on the Control.
ToolName (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs) The name of the tool or tool item that caused the postback.

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.