IUIPageViewControllerDataSource Interface

Definition

Interface representing the required methods (if any) of the protocol UIPageViewControllerDataSource.

[Foundation.Protocol(Name="UIPageViewControllerDataSource", WrapperType=typeof(UIKit.UIPageViewControllerDataSourceWrapper))]
public interface IUIPageViewControllerDataSource : IDisposable, ObjCRuntime.INativeObject
type IUIPageViewControllerDataSource = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIPageViewControllerDataSource.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIPageViewControllerDataSource protocol.

Optional methods (if any) are provided by the UIPageViewControllerDataSource_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetNextViewController(UIPageViewController, UIViewController)

Returns the next UIViewController.

GetPreviousViewController(UIPageViewController, UIViewController)

Retrieves the previous UIViewController.

Extension Methods

GetPresentationCount(IUIPageViewControllerDataSource, UIPageViewController)

The number of pages to be shown in the page indicator.

GetPresentationIndex(IUIPageViewControllerDataSource, UIPageViewController)

The index of the page to be highlighted in the page indicator.

Applies to