MonobjcMonobjc Documented Class Library
NSWindow..::..WindowWillResizeToSizeEventHandler Delegate
NamespacesMonobjc.AppKitNSWindowNSWindow..::..WindowWillResizeToSizeEventHandler

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++
public delegate NSSize WindowWillResizeToSizeEventHandler(
	NSWindow sender,
	NSSize frameSize
)
Public Delegate Function WindowWillResizeToSizeEventHandler ( _
	sender As NSWindow, _
	frameSize As NSSize _
) As NSSize
public delegate NSSize WindowWillResizeToSizeEventHandler(
	NSWindow^ sender, 
	NSSize frameSize
)
Parameters
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)