NSTextField 构造函数

定义

重载

NSTextField()
NSTextField(CGRect)
NSTextField(NSCoder)
NSTextField(NSObjectFlag)
NSTextField(IntPtr)

NSTextField()

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

适用于

NSTextField(CGRect)

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

参数

frameRect
CGRect
属性

适用于

NSTextField(NSCoder)

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

参数

coder
NSCoder
属性

适用于

NSTextField(NSObjectFlag)

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

参数

适用于

NSTextField(IntPtr)

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

参数

handle
IntPtr

nativeint

适用于