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




Occurs when a polygon has been dragged on the Map control using the Polygon client tool action.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Raised when the control processes a tool associated with the Polygon Client Tool Action")>
<ResCategoryAttribute("Client Tool Action")>
Public Event Polygon As MapPolygonEventHandler
Visual Basic (Usage)Copy Code
Dim instance As Map
Dim handler As MapPolygonEventHandler
 
AddHandler instance.Polygon, handler
C# 
[ResDescriptionAttribute("Raised when the control processes a tool associated with the Polygon Client Tool Action")]
[ResCategoryAttribute("Client Tool Action")]
public event MapPolygonEventHandler Polygon

Event Data

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

PropertyDescription
Control (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs) The map control.
ToolName (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs) The name of the tool or tool item that caused the postback.
Vectors (Inherited from ESRI.ArcGIS.ADF.Web.UI.WebControls.VectorEventArgs)The array of Point objects representing the polyline or polygon.

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.