NSForm 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
NSForm() | |
NSForm(CGRect) | |
NSForm(NSCoder) | |
NSForm(NSObjectFlag) | |
NSForm(IntPtr) | |
NSForm(CGRect, NSMatrixMode, NSCell, nint, nint) | |
NSForm(CGRect, NSMatrixMode, Class, nint, nint) |
NSForm()
NSForm(CGRect)
[Foundation.Export("initWithFrame:")]
public NSForm (CoreGraphics.CGRect frameRect);
new AppKit.NSForm : CoreGraphics.CGRect -> AppKit.NSForm
參數
- frameRect
- CGRect
- 屬性
適用於
NSForm(NSCoder)
[Foundation.Export("initWithCoder:")]
[ObjCRuntime.DesignatedInitializer]
public NSForm (Foundation.NSCoder coder);
new AppKit.NSForm : Foundation.NSCoder -> AppKit.NSForm
參數
- coder
- NSCoder
- 屬性
適用於
NSForm(NSObjectFlag)
protected NSForm (Foundation.NSObjectFlag t);
new AppKit.NSForm : Foundation.NSObjectFlag -> AppKit.NSForm
參數
適用於
NSForm(IntPtr)
protected internal NSForm (IntPtr handle);
new AppKit.NSForm : nativeint -> AppKit.NSForm
參數
- handle
-
IntPtr
nativeint
適用於
NSForm(CGRect, NSMatrixMode, NSCell, nint, nint)
[Foundation.Export("initWithFrame:mode:prototype:numberOfRows:numberOfColumns:")]
public NSForm (CoreGraphics.CGRect frameRect, AppKit.NSMatrixMode aMode, AppKit.NSCell aCell, nint rowsHigh, nint colsWide);
new AppKit.NSForm : CoreGraphics.CGRect * AppKit.NSMatrixMode * AppKit.NSCell * nint * nint -> AppKit.NSForm
參數
- frameRect
- CGRect
- aMode
- NSMatrixMode
- aCell
- NSCell
- rowsHigh
- System.System.IntPtr System.nativeint
- colsWide
- System.System.IntPtr System.nativeint
- 屬性
適用於
NSForm(CGRect, NSMatrixMode, Class, nint, nint)
[Foundation.Export("initWithFrame:mode:cellClass:numberOfRows:numberOfColumns:")]
public NSForm (CoreGraphics.CGRect frameRect, AppKit.NSMatrixMode aMode, ObjCRuntime.Class factoryId, nint rowsHigh, nint colsWide);
new AppKit.NSForm : CoreGraphics.CGRect * AppKit.NSMatrixMode * ObjCRuntime.Class * nint * nint -> AppKit.NSForm
參數
- frameRect
- CGRect
- aMode
- NSMatrixMode
- factoryId
- Class
- rowsHigh
- System.System.IntPtr System.nativeint
- colsWide
- System.System.IntPtr System.nativeint
- 屬性