Constructor ContextMenu
ContextMenu()
Initializes a context menu with no menu items.
public ContextMenu()
ContextMenu(View, MenuBarItem)
Initializes a context menu, with a View specifiying the parent/hose of the menu.
public ContextMenu(View host, MenuBarItem menuItems)
Parameters
host
ViewThe host view.
menuItems
MenuBarItemThe menu items for the context menu.
ContextMenu(int, int, MenuBarItem)
Initializes a context menu with menu items at a specific screen location.
public ContextMenu(int x, int y, MenuBarItem menuItems)
Parameters
x
intThe left position (screen relative).
y
intThe top position (screen relative).
menuItems
MenuBarItemThe menu items.