Syntax
| Visual Basic (Declaration) | |
|---|
<WebCategoryAttribute("Action")>
<WebSysDescriptionAttribute("Fires when the button is clicked and an associated command is defined.")>
Public Event Command As CommandEventHandler |
| 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.
| Property | Description |
|---|
| 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