iOS Guides | Samples

UIKit.UIPageViewControllerDataSource_Extensions Class

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

See Also: UIPageViewControllerDataSource_Extensions


public static class UIPageViewControllerDataSource_Extensions


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.


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of UIKit.UIPageViewControllerDataSource_Extensions are listed below.

See Also: Object

Public Methods

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