MonobjcMonobjc Documented Class Library
TrackMouseInRectOfViewUntilMouseUp Method (theEvent, cellFrame, controlView, untilMouseUp)
NamespacesMonobjc.AppKitNSCellTrackMouseInRectOfViewUntilMouseUp(NSEvent, NSRect, NSView, Boolean)

Initiates the mouse tracking behavior in a cell.

Original signature is '- (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView untilMouseUp:(BOOL)untilMouseUp'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool TrackMouseInRectOfViewUntilMouseUp(
	NSEvent theEvent,
	NSRect cellFrame,
	NSView controlView,
	bool untilMouseUp
)
Public Overridable Function TrackMouseInRectOfViewUntilMouseUp ( _
	theEvent As NSEvent, _
	cellFrame As NSRect, _
	controlView As NSView, _
	untilMouseUp As Boolean _
) As Boolean
public:
virtual bool TrackMouseInRectOfViewUntilMouseUp(
	NSEvent^ theEvent, 
	NSRect cellFrame, 
	NSView^ controlView, 
	bool untilMouseUp
)
Parameters
theEvent (NSEvent)
The event that caused the mouse tracking to occur.
cellFrame (NSRect)
The receiver's frame rectangle.
controlView (NSView)
The view containing the receiver. This is usually an NSControl object.
untilMouseUp (Boolean)
If YES, mouse tracking continues until the user releases the mouse button. If NO, tracking continues until the cursor leaves the tracking rectangle, specified by the cellFrame parameter, regardless of the mouse button state. See the discussion for more information.
Return Value
YES if the mouse tracking conditions are met, otherwise NO.
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)