NSView 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NSView() | |
NSView(CGRect) | |
NSView(NSCoder) | |
NSView(NSObjectFlag) | |
NSView(IntPtr) |
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