MonobjcMonobjc Documented Class Library
ConfinementRectForMenuOnScreen Event
NamespacesMonobjc.AppKitNSMenu..::..NSMenuDelegateEventDispatcherConfinementRectForMenuOnScreen

Invoked to allow the delegate to specify a display location for the menu.

Original signature is '- (NSRect)confinementRectForMenu:(NSMenu *)menu onScreen:(NSScreen *)screen'

Available in Mac OS X v10.6 and later.

Declaration Syntax
C#Visual BasicVisual C++
public event NSMenu..::..ConfinementRectForMenuOnScreenEventHandler ConfinementRectForMenuOnScreen
Public Event ConfinementRectForMenuOnScreen As NSMenu..::..ConfinementRectForMenuOnScreenEventHandler
Return Value
The rectangle, in screen coordinates, the menu should be displayed within.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)