MonobjcMonobjc Documented Class Library
DrawStateImageWithFrameInView Method (cellFrame, controlView)
NamespacesMonobjc.AppKitNSMenuItemCellDrawStateImageWithFrameInView(NSRect, NSView)

Draws the state image associated with the menu item.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawStateImageWithFrameInView(
	NSRect cellFrame,
	NSView controlView
)
Public Overridable Sub DrawStateImageWithFrameInView ( _
	cellFrame As NSRect, _
	controlView As NSView _
)
public:
virtual void DrawStateImageWithFrameInView(
	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)