MonobjcMonobjc Documented Class Library
Autoscroll Method (theEvent)

Scrolls the receiver’s closest ancestor NSClipView object proportionally to the distance of an event that occurs outside of it.

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

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool Autoscroll(
	NSEvent theEvent
Public Overridable Function Autoscroll ( _
	theEvent As NSEvent _
) As Boolean
virtual bool Autoscroll(
	NSEvent^ theEvent
theEvent (NSEvent)
An event object whose location should be expressed in the window’s base coordinate system (which it normally is), not the receiving view's.
Return Value
Returns YES if any scrolling is performed; otherwise returns 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)