Occurs when a command on the Toolbar has been clicked.
Syntax
| Visual Basic (Declaration) | |
|---|
<ResDescriptionAttribute("Occurs when a command on the Toolbar has been clicked.")>
<ResCategoryAttribute("Command Click Event")>
Public Event CommandClick As ToolbarCommandClickEventHandler |
| C# | |
|---|
[ResDescriptionAttribute("Occurs when a command on the Toolbar has been clicked.")]
[ResCategoryAttribute("Command Click Event")]
public event ToolbarCommandClickEventHandler CommandClick |
Event Data
The event handler receives an argument of type ToolbarCommandClickEventArgs containing data related to this event. The following ToolbarCommandClickEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| CommandName | Gets the command name for the Toolbar click event. |
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