UIPageViewControllerDataSource_Extensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods to the IUIPageViewControllerDataSource interface to support all the methods from the UIPageViewControllerDataSource protocol.
public static class UIPageViewControllerDataSource_Extensions
type UIPageViewControllerDataSource_Extensions = class
- Inheritance
-
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.
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. |