NSButton 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
NSButton() | |
NSButton(CGRect) | |
NSButton(NSCoder) | |
NSButton(NSObjectFlag) | |
NSButton(IntPtr) |
NSButton()
NSButton(CGRect)
[Foundation.Export("initWithFrame:")]
public NSButton (CoreGraphics.CGRect frameRect);
new AppKit.NSButton : CoreGraphics.CGRect -> AppKit.NSButton
Parameters
- frameRect
- CGRect
- Attributes
Applies to
NSButton(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSButton (Foundation.NSCoder coder);
new AppKit.NSButton : Foundation.NSCoder -> AppKit.NSButton
Parameters
- coder
- NSCoder
- Attributes
Applies to
NSButton(NSObjectFlag)
protected NSButton (Foundation.NSObjectFlag t);
new AppKit.NSButton : Foundation.NSObjectFlag -> AppKit.NSButton
Parameters
Applies to
NSButton(IntPtr)
protected internal NSButton (IntPtr handle);
new AppKit.NSButton : nativeint -> AppKit.NSButton
Parameters
- handle
-
IntPtr
nativeint