Invoked when the user resizes the drawer or parent.
Original signature is '- (NSSize)drawerWillResizeContents:(NSDrawer *)sender toSize:(NSSize)contentSize'
Available in Mac OS X v10.0 and later.

Declaration Syntax
public delegate NSSize DrawerWillResizeContentsToSizeEventHandler(
NSDrawer sender,
NSSize contentSize
)
Public Delegate Function DrawerWillResizeContentsToSizeEventHandler ( _
sender As NSDrawer, _
contentSize As NSSize _
) As NSSize
public delegate NSSize DrawerWillResizeContentsToSizeEventHandler(
NSDrawer^ sender,
NSSize contentSize
)

Parameters
- sender (NSDrawer)
- The drawer being resized.
- contentSize (NSSize)
- The proposed new size of the drawer.

Return Value
The size that the drawer should be resized to. To resize to a different size, simply return the desired size from this method; to avoid resizing, return the current size.

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)