IMenuModelAddSubMenu Method |
Version 55.0.0
Add a sub-menu to the menu. The new sub-menu is returned.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 55.0.0.0 (55.0.0.0)
Syntax IMenuModel AddSubMenu(
CefMenuCommand commandId,
string label
)
IMenuModel^ AddSubMenu(
CefMenuCommand commandId,
String^ label
)
Parameters
- commandId
- Type: CefSharpCefMenuCommand
the command Id - label
- Type: SystemString
the label of the item
Return Value
Type:
IMenuModelReturns the newly created
IMenuModel.
See Also