Returns the content rectangle used by a window with a given frame rectangle and window style.
Original signature is '+ (NSRect)contentRectForFrameRect:(NSRect)windowFrame styleMask:(NSUInteger)windowStyle'
Available in Mac OS X v10.0 and later.

C# | Visual Basic | Visual C++ |
public static NSRect ContentRectForFrameRectStyleMask( NSRect windowFrame, NSWindowStyleMask windowStyle )
Public Shared Function ContentRectForFrameRectStyleMask ( _ windowFrame As NSRect, _ windowStyle As NSWindowStyleMask _ ) As NSRect
public: static NSRect ContentRectForFrameRectStyleMask( NSRect windowFrame, NSWindowStyleMask windowStyle )

- windowFrame (NSRect)
- The frame rectangle for the window expressed in screen coordinates.
- windowStyle (NSWindowStyleMask)
- The window style for the window. See “Constants” for a list of style mask values.

The content rectangle, expressed in screen coordinates, used by the window with windowFrame and windowStyle.

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