Click or drag to resize

IMenuModelAddItem Method

Version 81.3.100
Add an item to the menu.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 81.3.100.0 (81.3.100.0)
Syntax
bool AddItem(
	CefMenuCommand commandId,
	string label
)

Parameters

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

Return Value

Type: Boolean
Returns true on success.
See Also