NSMenu.PopUpContextMenu 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- 屬性