MonobjcMonobjc Documented Class Library
DrawerShouldOpen Method (sender)

Asks the delegate if the specified drawer should open.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool DrawerShouldOpen(
	NSDrawer sender
Function DrawerShouldOpen ( _
	sender As NSDrawer _
) As Boolean
bool DrawerShouldOpen(
	NSDrawer^ sender
sender (NSDrawer)
The drawer requesting permission to open.
Return Value
YES if the drawer should open; NO to prevent the drawer from opening.
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)