IUIPageViewControllerDataSource 接口

定义

表示所需方法的接口 ((如果协议 UIPageViewControllerDataSource有任何) )。

[Foundation.Protocol(Name="UIPageViewControllerDataSource", WrapperType=typeof(UIKit.UIPageViewControllerDataSourceWrapper))]
public interface IUIPageViewControllerDataSource : IDisposable, ObjCRuntime.INativeObject
type IUIPageViewControllerDataSource = interface
    interface INativeObject
    interface IDisposable
派生
属性
实现

注解

此接口包含所需的方法 ((如果定义协议 UIPageViewControllerDataSource有任何) )。

如果开发人员创建实现此接口的类,则实现方法将自动导出到具有协议中 UIPageViewControllerDataSource 定义的方法的匹配签名的 Objective-C。

如果类提供任何) UIPageViewControllerDataSource_Extensions 作为接口的扩展方法,则可选方法 (,从而允许开发人员调用协议上的任何可选方法。

属性

Handle

处理指向非托管对象表示形式的 (指针) 。

(继承自 INativeObject)

方法

GetNextViewController(UIPageViewController, UIViewController)

返回下一个 UIViewController。

GetPreviousViewController(UIPageViewController, UIViewController)

检索以前的 UIViewController。

扩展方法

GetPresentationCount(IUIPageViewControllerDataSource, UIPageViewController)

要显示在页指示器中的页数。

GetPresentationIndex(IUIPageViewControllerDataSource, UIPageViewController)

页面指示器中要突出显示的页的索引。

适用于