Partager via


NSMenuItem Constructeurs

Définition

Surcharges

NSMenuItem()
NSMenuItem(NSCoder)
NSMenuItem(NSObjectFlag)
NSMenuItem(IntPtr)
NSMenuItem(String)
NSMenuItem(String, EventHandler)
NSMenuItem(String, String)
NSMenuItem(String, Selector, String)
NSMenuItem(String, String, EventHandler)
NSMenuItem(String, String, EventHandler, Func<NSMenuItem,Boolean>)

NSMenuItem()

[Foundation.Export("init")]
public NSMenuItem ();
Attributs

S’applique à

NSMenuItem(NSCoder)

[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSMenuItem (Foundation.NSCoder coder);
new AppKit.NSMenuItem : Foundation.NSCoder -> AppKit.NSMenuItem

Paramètres

coder
NSCoder
Attributs

S’applique à

NSMenuItem(NSObjectFlag)

protected NSMenuItem (Foundation.NSObjectFlag t);
new AppKit.NSMenuItem : Foundation.NSObjectFlag -> AppKit.NSMenuItem

Paramètres

S’applique à

NSMenuItem(IntPtr)

protected internal NSMenuItem (IntPtr handle);
new AppKit.NSMenuItem : nativeint -> AppKit.NSMenuItem

Paramètres

handle
IntPtr

nativeint

S’applique à

NSMenuItem(String)

public NSMenuItem (string title);
new AppKit.NSMenuItem : string -> AppKit.NSMenuItem

Paramètres

title
String

S’applique à

NSMenuItem(String, EventHandler)

public NSMenuItem (string title, EventHandler handler);
new AppKit.NSMenuItem : string * EventHandler -> AppKit.NSMenuItem

Paramètres

title
String
handler
EventHandler

S’applique à

NSMenuItem(String, String)

public NSMenuItem (string title, string charCode);
new AppKit.NSMenuItem : string * string -> AppKit.NSMenuItem

Paramètres

title
String
charCode
String

S’applique à

NSMenuItem(String, Selector, String)

[Foundation.Export("initWithTitle:action:keyEquivalent:")]
[ObjCRuntime.DesignatedInitializer]
public NSMenuItem (string title, ObjCRuntime.Selector selectorAction, string charCode);
new AppKit.NSMenuItem : string * ObjCRuntime.Selector * string -> AppKit.NSMenuItem

Paramètres

title
String
selectorAction
Selector
charCode
String
Attributs

S’applique à

NSMenuItem(String, String, EventHandler)

public NSMenuItem (string title, string charCode, EventHandler handler);
new AppKit.NSMenuItem : string * string * EventHandler -> AppKit.NSMenuItem

Paramètres

title
String
charCode
String
handler
EventHandler

S’applique à

NSMenuItem(String, String, EventHandler, Func<NSMenuItem,Boolean>)

public NSMenuItem (string title, string charCode, EventHandler handler, Func<AppKit.NSMenuItem,bool> validator);
new AppKit.NSMenuItem : string * string * EventHandler * Func<AppKit.NSMenuItem, bool> -> AppKit.NSMenuItem

Paramètres

title
String
charCode
String
handler
EventHandler
validator
Func<NSMenuItem,Boolean>

S’applique à