ESRI.ArcGIS.ADF.Web.UI.WebControls
DragRectangle Event
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : DragRectangle Event




Occurs when a rectangle has been dragged on the Map control using the DragRectangle client tool action.

Syntax

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

Event Data

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

PropertyDescription
Control The map control.
ToolName The name of the tool or tool item that caused the postback.

See Also

© 2010 All Rights Reserved.