| Visual Basic (Declaration) | |
|---|---|
Public Event CommandClick As MenuCommandClickEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As WebMenuBar Dim handler As MenuCommandClickEventHandler AddHandler instance.CommandClick, handler | |
| C# | |
|---|---|
public event MenuCommandClickEventHandler CommandClick | |
The event handler receives an argument of type MenuCommandClickEventArgs containing data related to this event. The following MenuCommandClickEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| ClickedCommand | Gets the clicked command in MenuCommand. |
| ClickedMenuItem | Gets the clicked menu item in MenuCommand. |
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