Click or drag to resize

IMenuModelAddSubMenu Method

Version 89.0.170
Add a sub-menu to the menu. The new sub-menu is returned.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 89.0.170.0 (89.0.170.0)
Syntax
IMenuModel AddSubMenu(
	CefMenuCommand commandId,
	string label
)

Parameters

commandId
Type: CefSharpCefMenuCommand
the command Id
label
Type: SystemString
the label of the item

Return Value

Type: IMenuModel
Returns the newly created IMenuModel.
See Also