NSMenuDelegate
NSMenuDelegate()
NSMenuDelegate(IntPtr)
NSMenuDelegate(NativeHandle)
NSMenuDelegate(NSObjectFlag)
ConfinementRectForMenu(NSMenu, NSScreen)
HasKeyEquivalentForEvent(NSMenu, NSEvent, NSObject, Selector)
MenuDidClose(NSMenu)
MenuItemCount(NSMenu)
MenuWillHighlightItem(NSMenu, NSMenuItem)
MenuWillOpen(NSMenu)
NeedsUpdate(NSMenu)
UpdateItem(NSMenu, NSMenuItem, nint, Boolean)
UpdateItem(NSMenu, NSMenuItem, nint, Boolean)
xamarinmac
namespace AppKit
{
[Model]
[Protocol]
[Register("NSMenuDelegate", false)]
public abstract class NSMenuDelegate : NSObject, INSMenuDelegate, INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("menu:updateItem:atIndex:shouldCancel:")]
public virtual bool UpdateItem(NSMenu! menu, NSMenuItem! item, nint atIndex, bool shouldCancel);
}
}
| Xamarin macOS | 0.0 |
|---|---|
Information specific to xamarinmac | |
| Assembly | Xamarin.Mac , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API