MonobjcMonobjc Documented Class Library
DrawStatusBarBackgroundInRectWithHighlight Method (rect, highlight)
NamespacesMonobjc.AppKitNSStatusItemDrawStatusBarBackgroundInRectWithHighlight(NSRect, Boolean)

Draws the menu background pattern for a custom status-bar item in regular or highlight pattern.

Original signature is '- (void)drawStatusBarBackgroundInRect:(NSRect)rect withHighlight:(BOOL)highlight'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawStatusBarBackgroundInRectWithHighlight(
	NSRect rect,
	bool highlight
)
Public Overridable Sub DrawStatusBarBackgroundInRectWithHighlight ( _
	rect As NSRect, _
	highlight As Boolean _
)
public:
virtual void DrawStatusBarBackgroundInRectWithHighlight(
	NSRect rect, 
	bool highlight
)
Parameters
rect (NSRect)
A rectangle defining the area of a custom status-bar item.
highlight (Boolean)
YES to draw the background pattern in the standard highlight pattern, NO to not highlight the pattern..
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)