NSView Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- frameRect
- CGRect
- Attributes
Applies to
NSView(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSView (Foundation.NSCoder coder);
new AppKit.NSView : Foundation.NSCoder -> AppKit.NSView
Parameters
- coder
- NSCoder
- Attributes
Applies to
NSView(NSObjectFlag)
protected NSView (Foundation.NSObjectFlag t);
new AppKit.NSView : Foundation.NSObjectFlag -> AppKit.NSView
Parameters
Applies to
NSView(IntPtr)
protected internal NSView (IntPtr handle);
new AppKit.NSView : nativeint -> AppKit.NSView
Parameters
- handle
-
IntPtr
nativeint