NSMenuDelegate.UpdateItem(NSMenu, NSMenuItem, nint, Boolean) Method

Definition

[Foundation.Export("menu:updateItem:atIndex:shouldCancel:")]
public virtual bool UpdateItem (AppKit.NSMenu menu, AppKit.NSMenuItem item, nint atIndex, bool shouldCancel);
abstract member UpdateItem : AppKit.NSMenu * AppKit.NSMenuItem * nint * bool -> bool
override this.UpdateItem : AppKit.NSMenu * AppKit.NSMenuItem * nint * bool -> bool

Parameters

menu
NSMenu
item
NSMenuItem
atIndex
System.System.IntPtr System.nativeint
shouldCancel
Boolean

Returns

Attributes

Applies to