NSButton 构造函数

定义

重载

NSButton()
NSButton(CGRect)
NSButton(NSCoder)
NSButton(NSObjectFlag)
NSButton(IntPtr)

NSButton()

[Foundation.Export("init")]
public NSButton();
属性

适用于

NSButton(CGRect)

[Foundation.Export("initWithFrame:")]
public NSButton(CoreGraphics.CGRect frameRect);
new AppKit.NSButton : CoreGraphics.CGRect -> AppKit.NSButton

参数

frameRect
CGRect
属性

适用于

NSButton(NSCoder)

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

参数

coder
NSCoder
属性

适用于

NSButton(NSObjectFlag)

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

参数

适用于

NSButton(IntPtr)

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

参数

handle
IntPtr

nativeint

适用于