DotNetBrowser  1.14
Public Member Functions | Properties | List of all members
DotNetBrowser.ContextMenu Class Reference

Provides access to context menu items and allows notifying Chromium engine about context menu state. More...

Public Member Functions

void NotifyItemSelected (ContextMenuItem item)
 Notifies Chromium engine that the given context menu item has been selected. Chromium will execute corresponding functionality of the selected context menu item. More...
 
void NotifyContextMenuOpened ()
 Notifies Chromium engine that context menu has been opened. Can be invoked multiple times. More...
 
void NotifyContextMenuClosed ()
 Notifies Chromium engine that context menu has been closed. Can be invoked multiple times. Chromium engine will update context menu state flag. When context menu is closed, Chromium ignores NotifyItemSelected(ContextMenuItem) calls. More...
 

Properties

IList< ContextMenuItemItems [get]
 Gets a list with context menu items. More...
 

Detailed Description

Provides access to context menu items and allows notifying Chromium engine about context menu state.

Member Function Documentation

void DotNetBrowser.ContextMenu.NotifyContextMenuClosed ( )

Notifies Chromium engine that context menu has been closed. Can be invoked multiple times. Chromium engine will update context menu state flag. When context menu is closed, Chromium ignores NotifyItemSelected(ContextMenuItem) calls.

void DotNetBrowser.ContextMenu.NotifyContextMenuOpened ( )

Notifies Chromium engine that context menu has been opened. Can be invoked multiple times.

void DotNetBrowser.ContextMenu.NotifyItemSelected ( ContextMenuItem  item)

Notifies Chromium engine that the given context menu item has been selected. Chromium will execute corresponding functionality of the selected context menu item.

Parameters
itemselected context menu item. Cannot be null.
Exceptions
ArgumentExceptionwhen item is null.

Property Documentation

IList<ContextMenuItem> DotNetBrowser.ContextMenu.Items
get

Gets a list with context menu items.