MonobjcMonobjc Documented Class Library
DrawBorderAndBackgroundWithFrameInView Method (cellFrame, controlView)
NamespacesMonobjc.AppKitNSMenuItemCellDrawBorderAndBackgroundWithFrameInView(NSRect, NSView)

Draws the borders and background associated with the receiver’s menu item (if any).

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawBorderAndBackgroundWithFrameInView(
	NSRect cellFrame,
	NSView controlView
)
Public Overridable Sub DrawBorderAndBackgroundWithFrameInView ( _
	cellFrame As NSRect, _
	controlView As NSView _
)
public:
virtual void DrawBorderAndBackgroundWithFrameInView(
	NSRect cellFrame, 
	NSView^ controlView
)
Parameters
cellFrame (NSRect)
A rectangle defining the receiver's frame area.
controlView (NSView)
The view object that contains this cell (usually an NSControl object).
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)