共用方式為


NSMenu.PopUpContextMenu 方法

定義

多載

PopUpContextMenu(NSMenu, NSEvent, NSView)
PopUpContextMenu(NSMenu, NSEvent, NSView, NSFont)

PopUpContextMenu(NSMenu, NSEvent, NSView)

[Foundation.Export("popUpContextMenu:withEvent:forView:")]
public static void PopUpContextMenu (AppKit.NSMenu menu, AppKit.NSEvent theEvent, AppKit.NSView view);
static member PopUpContextMenu : AppKit.NSMenu * AppKit.NSEvent * AppKit.NSView -> unit

參數

menu
NSMenu
theEvent
NSEvent
view
NSView
屬性

適用於

PopUpContextMenu(NSMenu, NSEvent, NSView, NSFont)

[Foundation.Export("popUpContextMenu:withEvent:forView:withFont:")]
public static void PopUpContextMenu (AppKit.NSMenu menu, AppKit.NSEvent theEvent, AppKit.NSView view, AppKit.NSFont font);
static member PopUpContextMenu : AppKit.NSMenu * AppKit.NSEvent * AppKit.NSView * AppKit.NSFont -> unit

參數

menu
NSMenu
theEvent
NSEvent
view
NSView
font
NSFont
屬性

適用於