# PipsPager

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/struct-pipspager/

**struct** · [`ferroui-controls`](/docs/0.5.0/api/ferroui-controls/) · v0.5.0

```rust
struct PipsPager
```

Represents a control that lets the user navigate through a paginated
collection using a set of pips.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L32)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`max_visible_pips_property`](#function-max_visible_pips_property)
- [`is_next_button_visible_property`](#function-is_next_button_visible_property)
- [`number_of_pages_property`](#function-number_of_pages_property)
- [`orientation_property`](#function-orientation_property)
- [`is_previous_button_visible_property`](#function-is_previous_button_visible_property)
- [`selected_page_index_property`](#function-selected_page_index_property)
- [`template_settings_property`](#function-template_settings_property)
- [`previous_button_theme_property`](#function-previous_button_theme_property)
- [`next_button_theme_property`](#function-next_button_theme_property)
- [`selected_index_changed_event`](#function-selected_index_changed_event)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`selected_index_changed`](#function-selected_index_changed)
- [`max_visible_pips`](#function-max_visible_pips)
- [`set_max_visible_pips`](#function-set_max_visible_pips)
- [`is_next_button_visible`](#function-is_next_button_visible)
- [`set_is_next_button_visible`](#function-set_is_next_button_visible)
- [`number_of_pages`](#function-number_of_pages)
- [`set_number_of_pages`](#function-set_number_of_pages)
- [`orientation`](#function-orientation)
- [`set_orientation`](#function-set_orientation)
- [`is_previous_button_visible`](#function-is_previous_button_visible)
- [`set_is_previous_button_visible`](#function-set_is_previous_button_visible)
- [`selected_page_index`](#function-selected_page_index)
- [`set_selected_page_index`](#function-set_selected_page_index)
- [`template_settings`](#function-template_settings)
- [`previous_button_theme`](#function-previous_button_theme)
- [`set_previous_button_theme`](#function-set_previous_button_theme)
- [`next_button_theme`](#function-next_button_theme)
- [`set_next_button_theme`](#function-set_next_button_theme)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L47)

<a id="function-to_ref"></a>

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<PipsPager>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L47)

<a id="function-max_visible_pips_property"></a>

### max_visible_pips_property

```rust
fn max_visible_pips_property() -> &'static StyledProperty<i32>
```

Defines the `MaxVisiblePips` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-is_next_button_visible_property"></a>

### is_next_button_visible_property

```rust
fn is_next_button_visible_property() -> &'static StyledProperty<bool>
```

Defines the `IsNextButtonVisible` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-number_of_pages_property"></a>

### number_of_pages_property

```rust
fn number_of_pages_property() -> &'static StyledProperty<i32>
```

Defines the `NumberOfPages` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-orientation_property"></a>

### orientation_property

```rust
fn orientation_property() -> &'static StyledProperty<Orientation>
```

Defines the `Orientation` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-is_previous_button_visible_property"></a>

### is_previous_button_visible_property

```rust
fn is_previous_button_visible_property() -> &'static StyledProperty<bool>
```

Defines the `IsPreviousButtonVisible` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-selected_page_index_property"></a>

### selected_page_index_property

```rust
fn selected_page_index_property() -> &'static StyledProperty<i32>
```

Defines the `SelectedPageIndex` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-template_settings_property"></a>

### template_settings_property

```rust
fn template_settings_property() -> &'static DirectProperty<PipsPager, Ref<PipsPagerTemplateSettings>>
```

Defines the `TemplateSettings` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-previous_button_theme_property"></a>

### previous_button_theme_property

```rust
fn previous_button_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
```

Defines the `PreviousButtonTheme` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-next_button_theme_property"></a>

### next_button_theme_property

```rust
fn next_button_theme_property() -> &'static StyledProperty<Option<Ref<ControlTheme>>>
```

Defines the `NextButtonTheme` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L200)

<a id="function-selected_index_changed_event"></a>

### selected_index_changed_event

```rust
fn selected_index_changed_event() -> &'static RoutedEvent<PipsPagerSelectedIndexChangedEventArgs>
```

Defines the `SelectedIndexChanged` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L258)

<a id="function-construct"></a>

### construct

```rust
fn construct() -> Self
```

Creates the class data; see `ferroui_base::FerroObject::construct`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L291)

<a id="function-new"></a>

### new

```rust
fn new() -> Ref<Self>
```

Initializes a new instance of the pips pager.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L308)

<a id="function-selected_index_changed"></a>

### selected_index_changed

```rust
fn selected_index_changed(self: &Self, handler: impl Fn(&Interactive, &PipsPagerSelectedIndexChangedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the selected index has changed.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L313)

<a id="function-max_visible_pips"></a>

### max_visible_pips

```rust
fn max_visible_pips(self: &Self) -> i32
```

Gets or sets the maximum number of visible pips.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L321)

<a id="function-set_max_visible_pips"></a>

### set_max_visible_pips

```rust
fn set_max_visible_pips(self: &Self, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L325)

<a id="function-is_next_button_visible"></a>

### is_next_button_visible

```rust
fn is_next_button_visible(self: &Self) -> bool
```

Gets or sets the visibility of the next button.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L330)

<a id="function-set_is_next_button_visible"></a>

### set_is_next_button_visible

```rust
fn set_is_next_button_visible(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L334)

<a id="function-number_of_pages"></a>

### number_of_pages

```rust
fn number_of_pages(self: &Self) -> i32
```

Gets or sets the number of pages.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L345)

<a id="function-set_number_of_pages"></a>

### set_number_of_pages

```rust
fn set_number_of_pages(self: &Self, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L349)

<a id="function-orientation"></a>

### orientation

```rust
fn orientation(self: &Self) -> Orientation
```

Gets or sets the orientation of the pips.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L354)

<a id="function-set_orientation"></a>

### set_orientation

```rust
fn set_orientation(self: &Self, value: Orientation)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L358)

<a id="function-is_previous_button_visible"></a>

### is_previous_button_visible

```rust
fn is_previous_button_visible(self: &Self) -> bool
```

Gets or sets the visibility of the previous button.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L363)

<a id="function-set_is_previous_button_visible"></a>

### set_is_previous_button_visible

```rust
fn set_is_previous_button_visible(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L367)

<a id="function-selected_page_index"></a>

### selected_page_index

```rust
fn selected_page_index(self: &Self) -> i32
```

Gets or sets the current selected page index.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L372)

<a id="function-set_selected_page_index"></a>

### set_selected_page_index

```rust
fn set_selected_page_index(self: &Self, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L376)

<a id="function-template_settings"></a>

### template_settings

```rust
fn template_settings(self: &Self) -> Ref<PipsPagerTemplateSettings>
```

Gets the template settings.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L381)

<a id="function-previous_button_theme"></a>

### previous_button_theme

```rust
fn previous_button_theme(self: &Self) -> Option<Ref<ControlTheme>>
```

Gets or sets the theme for the previous button.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L389)

<a id="function-set_previous_button_theme"></a>

### set_previous_button_theme

```rust
fn set_previous_button_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L393)

<a id="function-next_button_theme"></a>

### next_button_theme

```rust
fn next_button_theme(self: &Self) -> Option<Ref<ControlTheme>>
```

Gets or sets the theme for the next button.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L398)

<a id="function-set_next_button_theme"></a>

### set_next_button_theme

```rust
fn set_next_button_theme(self: &Self, value: impl Into<Nullable<ControlTheme>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/pips_pager/pips_pager.rs#L402)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`TemplatedControlImplExt`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimplext/)
- [`ControlImplExt`](/docs/0.5.0/api/ferroui-controls/trait-controlimplext/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- [`InputElementImplExt`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimplext/)
- [`InteractiveImplExt`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimplext/)
- [`LayoutableImplExt`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimplext/)
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`StyledElementImplExt`](/docs/0.5.0/api/ferroui-base/trait-styledelementimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- [`VisualImplExt`](/docs/0.5.0/api/ferroui-base/trait-visualimplext/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<PipsPager>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`StyledElementImpl`](/docs/0.5.0/api/ferroui-base/trait-styledelementimpl/)
- [`VisualImpl`](/docs/0.5.0/api/ferroui-base/trait-visualimpl/)
- [`LayoutableImpl`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimpl/)
- [`InteractiveImpl`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimpl/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`TemplatedControlImpl`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimpl/)
- [`ControlImpl`](/docs/0.5.0/api/ferroui-controls/trait-controlimpl/)
- [`InputElementImpl`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimpl/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
