MonobjcMonobjc Documented Class Library
DrawKnobSlotInRectHighlight Method (slotRect, flag)
NamespacesMonobjc.AppKitNSScrollerDrawKnobSlotInRectHighlight(NSRect, Boolean)

Draws the portion of the scroller's track, possibly including the line increment and decrement arrow buttons, that falls in the given slotRect.

Original signature is '- (void)drawKnobSlotInRect:(NSRect)slotRect highlight:(BOOL)flag'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void DrawKnobSlotInRectHighlight(
	NSRect slotRect,
	bool flag
)
Public Overridable Sub DrawKnobSlotInRectHighlight ( _
	slotRect As NSRect, _
	flag As Boolean _
)
public:
virtual void DrawKnobSlotInRectHighlight(
	NSRect slotRect, 
	bool flag
)
Parameters
slotRect (NSRect)
The rectangle in which to draw the knob slot.
flag (Boolean)
If flag is YES, any scroll arrow button that falls within slotRect is drawn highlighted; otherwise it's drawn normally.
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)