MonobjcMonobjc Documented Class Library
CellSizeForBounds Method (aRect)
NamespacesMonobjc.AppKitNSCellCellSizeForBounds(NSRect)

Returns the minimum size needed to display the receiver, constraining it to the specified rectangle.

Original signature is '- (NSSize)cellSizeForBounds:(NSRect)aRect'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSSize CellSizeForBounds(
	NSRect aRect
)
Public Overridable Function CellSizeForBounds ( _
	aRect As NSRect _
) As NSSize
public:
virtual NSSize CellSizeForBounds(
	NSRect aRect
)
Parameters
aRect (NSRect)
The size of the cell, or the size of the aRect parameter if the cell is not a text or image cell. If the cell is an image cell but no image has been set, returns NSZeroSize.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSCell.CellSizeForBounds(Monobjc.Foundation.NSRect)"]

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)