MonobjcMonobjc Documented Class Library
AcceptsFirstMouse Method (theEvent)

Overridden by subclasses to return YES if the receiver should be sent a mouseDown: message for an initial mouse-down event, NO if not.

Original signature is '- (BOOL)acceptsFirstMouse:(NSEvent *)theEvent'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool AcceptsFirstMouse(
	NSEvent theEvent
Public Overridable Function AcceptsFirstMouse ( _
	theEvent As NSEvent _
) As Boolean
virtual bool AcceptsFirstMouse(
	NSEvent^ theEvent
theEvent (NSEvent)
The initial mouse-down event, which must be over the receiver in its window.
Return Value

[Missing <returns> documentation for "M:Monobjc.AppKit.NSView.AcceptsFirstMouse(Monobjc.AppKit.NSEvent)"]

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)