MonobjcMonobjc Documented Class Library
AttachPopUpWithFrameInView Method (cellFrame, controlView)
NamespacesMonobjc.AppKitNSPopUpButtonCellAttachPopUpWithFrameInView(NSRect, NSView)

Sets up the receiver to display a menu.

Original signature is '- (void)attachPopUpWithFrame:(NSRect)cellFrame inView:(NSView *)controlView'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void AttachPopUpWithFrameInView(
	NSRect cellFrame,
	NSView controlView
)
Public Overridable Sub AttachPopUpWithFrameInView ( _
	cellFrame As NSRect, _
	controlView As NSView _
)
public:
virtual void AttachPopUpWithFrameInView(
	NSRect cellFrame, 
	NSView^ controlView
)
Parameters
cellFrame (NSRect)
The cell's rectangle, specified in points in the coordinate system of the view in the controlView parameter. The menu is attached to this rectangle.
controlView (NSView)
The view in which to display the pop-up button's menu.
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)