MonobjcMonobjc Documented Class Library
NSDrawer..::..DrawerShouldCloseEventHandler Delegate

Asks the delegate if the specified drawer should close.

Original signature is '- (BOOL)drawerShouldClose:(NSDrawer *)sender'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public delegate bool DrawerShouldCloseEventHandler(
	NSDrawer sender
Public Delegate Function DrawerShouldCloseEventHandler ( _
	sender As NSDrawer _
) As Boolean
public delegate bool DrawerShouldCloseEventHandler(
	NSDrawer^ sender
sender (NSDrawer)
The drawer being closed.
Return Value
YES to allow the drawer to close; NO to prevent it from closing.
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)