MonobjcMonobjc Documented Class Library
WindowWillResizeToSize Method (sender, frameSize)
NamespacesMonobjc.AppKitINSWindowDelegateWindowWillResizeToSize(NSWindow, NSSize)

Tells the delegate that the window is being resized (whether by the user or through one of the setFrame... methods other than setFrame:display:).

Original signature is '- (NSSize)windowWillResize:(NSWindow *)sender toSize:(NSSize)frameSize'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
NSSize WindowWillResizeToSize(
	NSWindow sender,
	NSSize frameSize
Function WindowWillResizeToSize ( _
	sender As NSWindow, _
	frameSize As NSSize _
) As NSSize
NSSize WindowWillResizeToSize(
	NSWindow^ sender, 
	NSSize frameSize
sender (NSWindow)
The window being resized.
frameSize (NSSize)
The size to which the specified window is being resized.
Return Value
A custom size to which the specified window will be resized.
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)