Click or drag to resize

IMenuModelInsertSubMenuAt Method

Version 94.4.20
Insert a sub-menu in the menu at the specified index.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 94.4.20.0 (94.4.20.0)
Syntax
IMenuModel InsertSubMenuAt(
	int index,
	CefMenuCommand commandId,
	string label
)

Parameters

index
Type: SystemInt32
index
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