MonobjcMonobjc Documented Class Library
SetFrameFromContentFrame Method (contentFrame)
NamespacesMonobjc.AppKitNSBoxSetFrameFromContentFrame(NSRect)

Places the receiver so its content view lies on the specified frame.

Original signature is '- (void)setFrameFromContentFrame:(NSRect)contentFrame'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetFrameFromContentFrame(
	NSRect contentFrame
)
Public Overridable Sub SetFrameFromContentFrame ( _
	contentFrame As NSRect _
)
public:
virtual void SetFrameFromContentFrame(
	NSRect contentFrame
)
Parameters
contentFrame (NSRect)
The rectangle specifying the frame of the box's content view, reckoned in the coordinate system of the box's superview. The box is marked for redisplay.
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)