PageControl

A row of dots marking the current page of a paging scroll or a carousel.
public class PageControl : Control

Properties

AllowsScrubbing

Whether dragging across the dots scrubs through the pages, rather than only tapping them.

Type: bool

public bool AllowsScrubbing { get; set; }

Count

How many dots are shown.

Type: Bindable<int>

public Bindable<int> Count { get; set; }

Current

The filled dot, updated when the user taps or scrubs the dots.

Type: Bindable<int>

public Bindable<int> Current { get; set; }

CurrentDotColor

The color of the filled dot, or null for the system default.

Type: Color?

public Color? CurrentDotColor { get; set; }

DotColor

The color of the unfilled dots, or null for the system default.

Type: Color?

public Color? DotColor { get; set; }

HidesForSinglePage

Whether the control hides itself while there is only one page.

Type: bool

public bool HidesForSinglePage { get; set; }

PageChanged

Invoked with the new page whenever the user taps or scrubs the dots.

Type: Action<int>?

public Action<int>? PageChanged { get; set; }