iOS Guides | Samples

MonoTouch.UIKit.UIPageViewControllerDataSource Class

Allows UIPageViewControllers to dynamically create page UIViewControllers.

See Also: UIPageViewControllerDataSource

Syntax

[MonoTouch.Foundation.Model]
[MonoTouch.Foundation.Protocol]
[MonoTouch.Foundation.Register("UIPageViewControllerDataSource", false)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 5, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public abstract class UIPageViewControllerDataSource : NSObject, IUIPageViewControllerDataSource, IDisposable

Related content

Requirements

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

The members of MonoTouch.UIKit.UIPageViewControllerDataSource 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

abstract
GetNextViewController(UIPageViewController, UIViewController) : UIViewController
The UIViewController after the specified referenceViewController.
GetPresentationCount(UIPageViewController) : Int32
The number of items for the page indicator.
GetPresentationIndex(UIPageViewController) : Int32
The index to indicate in the page indicator.
abstract
GetPreviousViewController(UIPageViewController, UIViewController) : UIViewController
The UIViewController before the specified referenceViewController.