NSView 构造函数

定义

重载

NSView()
NSView(CGRect)
NSView(NSCoder)
NSView(NSObjectFlag)
NSView(IntPtr)

NSView()

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

适用于

NSView(CGRect)

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

参数

frameRect
CGRect
属性

适用于

NSView(NSCoder)

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

参数

coder
NSCoder
属性

适用于

NSView(NSObjectFlag)

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

参数

适用于

NSView(IntPtr)

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

参数

handle
IntPtr

nativeint

适用于