iOS Guides | Samples

MonoTouch.UIKit.UIScrollViewDelegate Class

A class used to receive notifications from UIScrollView.

See Also: UIScrollViewDelegate

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UIScrollViewDelegate", false)]
public class UIScrollViewDelegate : NSObject, IUIScrollViewDelegate, IDisposable

Remarks

A strongly typed implementation of a class that can be used to respond to events raised by the UIScrollView.

The methods on this class can be used to respond to scroll view operations (such as scrolling, zooming, and animations), and in some cases affect those operations.

Related content

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.UIScrollViewDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

DecelerationEnded(UIScrollView)
Called when deceleration has ended (at the end of a scrolling movement).
DecelerationStarted(UIScrollView)
Called when deceleration has started (at the end of a scrolling movement).
DidZoom(UIScrollView)
Called when the scroll view's zoom factor has changed.
DraggingEnded(UIScrollView, Boolean)
Called when dragging has ended.
DraggingStarted(UIScrollView)
Called when dragging is about to begin.
ScrollAnimationEnded(UIScrollView)
Called when a scrolling animation in the scroll view is finished.
Scrolled(UIScrollView)
Called when the user scrolls the content.
ScrolledToTop(UIScrollView)
Called when the scroll view is scrolled to the top of the content.
ShouldScrollToTop(UIScrollView) : Boolean
Called by the scroll view to determine whether it should scroll to the top of the content.
ViewForZoomingInScrollView(UIScrollView) : UIView
Returns the view to scale when zooming is about to occur in the scroll view.
WillEndDragging(UIScrollView, PointF, ref PointF)
Called when the user finishes scrolling the content.
ZoomingEnded(UIScrollView, UIView, Single)
Called when content zooming is complete.
ZoomingStarted(UIScrollView, UIView)
Called when a zooming operation is about to start.