MonobjcMonobjc Documented Class Library
DrawerWillResizeContentsToSize Event
NamespacesMonobjc.AppKitNSDrawer..::..NSDrawerDelegateEventDispatcherDrawerWillResizeContentsToSize

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
C#Visual BasicVisual C++
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)