| Visual Basic (Declaration) | |
|---|---|
Public Event CommandClick As ToolCommandClickEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebToolBar Dim handler As ToolCommandClickEventHandler AddHandler instance.CommandClick, handler | |
| C# | |
|---|---|
public event ToolCommandClickEventHandler CommandClick | |
The event handler receives an argument of type ToolCommandClickEventArgs containing data related to this event. The following ToolCommandClickEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| ClickedCommand | Gets the clicked command in ToolCommand. |
| ClickedMenuItem | Gets the clicked menu item in ToolCommand. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2