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




Syntax

Visual Basic (Declaration) 
<WebCategoryAttribute("Action")>
<WebSysDescriptionAttribute("Fires when the button is clicked and an associated command is defined.")>
Public Event Command As CommandEventHandler
Visual Basic (Usage)Copy Code
Dim instance As AutoExpandButton
Dim handler As CommandEventHandler
 
AddHandler instance.Command, handler
C# 
[WebCategoryAttribute("Action")]
[WebSysDescriptionAttribute("Fires when the button is clicked and an associated command is defined.")]
public event CommandEventHandler Command

Event Data

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

PropertyDescription
CommandArgument Gets the argument for the command.
CommandName Gets the name of the command.

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.