MonobjcMonobjc Documented Class Library
MinFrameWidthWithTitleStyleMask Method (windowTitle, windowStyle)
NamespacesMonobjc.AppKitNSWindowMinFrameWidthWithTitleStyleMask(NSString, NSWindowStyleMask)

Returns the minimum width a window’s frame rectangle must have for it to display a title, with a given window style.

Original signature is '+ (CGFloat)minFrameWidthWithTitle:(NSString *)windowTitle styleMask:(NSUInteger)windowStyle'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CGFloat MinFrameWidthWithTitleStyleMask(
	NSString windowTitle,
	NSWindowStyleMask windowStyle
)
Public Shared Function MinFrameWidthWithTitleStyleMask ( _
	windowTitle As NSString, _
	windowStyle As NSWindowStyleMask _
) As CGFloat
public:
static CGFloat MinFrameWidthWithTitleStyleMask(
	NSString^ windowTitle, 
	NSWindowStyleMask windowStyle
)
Parameters
windowTitle (NSString)
The title for the window.
windowStyle (NSWindowStyleMask)
The window style for the window. See “Window Style Masks” for a list of style mask values.
Return Value
The minimum width of the window’s frame, using windowStyle, in order to display windowTitle.
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)