NSMenuItem Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
NSMenuItem()
NSMenuItem(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSMenuItem (Foundation.NSCoder coder);
new AppKit.NSMenuItem : Foundation.NSCoder -> AppKit.NSMenuItem
Parâmetros
- coder
- NSCoder
- Atributos
Aplica-se a
NSMenuItem(NSObjectFlag)
protected NSMenuItem (Foundation.NSObjectFlag t);
new AppKit.NSMenuItem : Foundation.NSObjectFlag -> AppKit.NSMenuItem
Parâmetros
Aplica-se a
NSMenuItem(IntPtr)
protected internal NSMenuItem (IntPtr handle);
new AppKit.NSMenuItem : nativeint -> AppKit.NSMenuItem
Parâmetros
- handle
-
IntPtr
nativeint
Aplica-se a
NSMenuItem(String)
public NSMenuItem (string title);
new AppKit.NSMenuItem : string -> AppKit.NSMenuItem
Parâmetros
- title
- String
Aplica-se a
NSMenuItem(String, EventHandler)
public NSMenuItem (string title, EventHandler handler);
new AppKit.NSMenuItem : string * EventHandler -> AppKit.NSMenuItem
Parâmetros
- title
- String
- handler
- EventHandler
Aplica-se a
NSMenuItem(String, String)
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
Parâmetros
- title
- String
- selectorAction
- Selector
- charCode
- String
- Atributos
Aplica-se a
NSMenuItem(String, String, EventHandler)
public NSMenuItem (string title, string charCode, EventHandler handler);
new AppKit.NSMenuItem : string * string * EventHandler -> AppKit.NSMenuItem
Parâmetros
- title
- String
- charCode
- String
- handler
- EventHandler
Aplica-se a
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
Parâmetros
- title
- String
- charCode
- String
- handler
- EventHandler
- validator
- Func<NSMenuItem,Boolean>