MonobjcMonobjc Documented Class Library
InitWithFrameModePrototypeNumberOfRowsNumberOfColumns Method (frameRect, aMode, aCell, numRows, numColumns)
NamespacesMonobjc.AppKitNSMatrixInitWithFrameModePrototypeNumberOfRowsNumberOfColumns(NSRect, NSMatrixMode, NSCell, NSInteger, NSInteger)

Initializes and returns a newly allocated matrix of the specified size using the given cell as a prototype.

Original signature is '- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows numberOfColumns:(NSInteger)numColumns'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithFrameModePrototypeNumberOfRowsNumberOfColumns(
	NSRect frameRect,
	NSMatrixMode aMode,
	NSCell aCell,
	NSInteger numRows,
	NSInteger numColumns
)
Public Overridable Function InitWithFrameModePrototypeNumberOfRowsNumberOfColumns ( _
	frameRect As NSRect, _
	aMode As NSMatrixMode, _
	aCell As NSCell, _
	numRows As NSInteger, _
	numColumns As NSInteger _
) As Id
public:
virtual Id^ InitWithFrameModePrototypeNumberOfRowsNumberOfColumns(
	NSRect frameRect, 
	NSMatrixMode aMode, 
	NSCell^ aCell, 
	NSInteger numRows, 
	NSInteger numColumns
)
Parameters
frameRect (NSRect)
The matrix's frame.
aMode (NSMatrixMode)
The tracking mode for the matrix; this can be one of the modes described in NSMatrixMode.
aCell (NSCell)
An instance of a subclass of NSCell, which the new matrix copies when it creates new cells.
numRows (NSInteger)
The number of rows in the matrix.
numColumns (NSInteger)
The number of columns in the matrix.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSMatrix.InitWithFrameModePrototypeNumberOfRowsNumberOfColumns(Monobjc.Foundation.NSRect,Monobjc.AppKit.NSMatrixMode,Monobjc.AppKit.NSCell,Monobjc.Foundation.NSInteger,Monobjc.Foundation.NSInteger)"]

Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)