MonobjcMonobjc Documented Class Library
DrawerShouldClose Method (sender)

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++
bool DrawerShouldClose(
	NSDrawer sender
Function DrawerShouldClose ( _
	sender As NSDrawer _
) As Boolean
bool DrawerShouldClose(
	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)