iOS Guides | Samples

MonoTouch.UIKit.UIPageViewControllerDataSource_Extensions Class

Extension methods to the IUIPageViewControllerDataSource interface to support all the methods from the UIPageViewControllerDataSource protocol.

See Also: UIPageViewControllerDataSource_Extensions

Syntax

public static class UIPageViewControllerDataSource_Extensions

Remarks

The extension methods for IUIPageViewControllerDataSource allow developers to treat instances of the interface as having all the optional methods of the original UIPageViewControllerDataSource protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Requirements

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

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

See Also: Object

Public Methods

static
GetPresentationCount(this IUIPageViewControllerDataSource, UIPageViewController) : Int32
The number of pages to be shown in the page indicator.
static
GetPresentationIndex(this IUIPageViewControllerDataSource, UIPageViewController) : Int32
The index of the page to be highlighted in the page indicator.