ESRI.ArcGIS.ADF.Web.UI.WebControls
MapPolygonEventArgs Class
Members  See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : MapPolygonEventArgs Class




Event arguments for a Tool with its ClientAction set to Polygon.

Object Model



Syntax

Visual Basic (Declaration) 
Public Class MapPolygonEventArgs 
   Inherits PolygonEventArgs
Visual Basic (Usage)Copy Code
Dim instance As MapPolygonEventArgs
C# 
public class MapPolygonEventArgs : PolygonEventArgs 

Remarks

An instance of this class is created when a Tool has its ClientAction set to Polygon, the user clicks on the Map, and the Tool's ServerActionClass is set to a class that implements IMapServerToolAction. The MapPolygonEventArgs object is passed as the argument to the ServerAction method.

The MapPolygonEventArgs will contain the polygon the user clicked. The polygon may be used to do action on the server, such as querying the map or drawing graphics on the map.

Inheritance Hierarchy

System.Object
   System.EventArgs
      ESRI.ArcGIS.ADF.Web.UI.WebControls.ToolEventArgs
         ESRI.ArcGIS.ADF.Web.UI.WebControls.VectorEventArgs
            ESRI.ArcGIS.ADF.Web.UI.WebControls.PolygonEventArgs
               ESRI.ArcGIS.ADF.Web.UI.WebControls.MapPolygonEventArgs

See Also

© 2010 All Rights Reserved.