MonobjcMonobjc Documented Class Library
ContentRectForFrameRect Method (windowFrame)
NamespacesMonobjc.AppKitNSWindowContentRectForFrameRect(NSRect)

Returns the window’s content rectangle with a given frame rectangle.

Original signature is '- (NSRect)contentRectForFrameRect:(NSRect)windowFrame'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual NSRect ContentRectForFrameRect(
	NSRect windowFrame
)
Public Overridable Function ContentRectForFrameRect ( _
	windowFrame As NSRect _
) As NSRect
public:
virtual NSRect ContentRectForFrameRect(
	NSRect windowFrame
)
Parameters
windowFrame (NSRect)
The frame rectangle for the window expressed in screen coordinates.
Return Value
The window’s content rectangle, expressed in screen coordinates, with windowFrame.
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)