UIKit.UIPageControl Class
A UIKit.UIControl that displays a pagination control.

See Also: UIPageControl Members

Syntax

[Foundation.Register("UIPageControl", true)]
public class UIPageControl : UIControl

See Also

UIScrollView

Remarks

This control appears as a bar on which a number of dots represent available pages (a similar control is at the bottom of the iOS home screen). When the application user selects one of the pages, it raises the UIControl.ValueChanged event. The application developer can then use the UIPageControl.CurrentPage property to determine what page to display.

When the number of pages gets large, it may be impossible to display a separate dot per page. In that situation, the UIKit.UIPageControl clips the display of page indicators.

Related content

Requirements

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