Displays a contextual menu over a view for an event.
Original signature is '+ (void)popUpContextMenu:(NSMenu *)menu withEvent:(NSEvent *)event forView:(NSView *)view'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Public Shared Sub PopUpContextMenuWithEventForView ( _
menu As NSMenu, _
event As NSEvent, _
view As NSView _
)
public:
static void PopUpContextMenuWithEventForView(
NSMenu^ menu,
NSEvent^ event,
NSView^ view
)
Parameters
- menu (NSMenu)
- The menu object to use for the contextual menu.
- event (NSEvent)
- An NSEvent object representing the event.
- view (NSView)
- The view object over which to display the contextual menu.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)
Assembly:
Monobjc.AppKit (Module: Monobjc.AppKit)