# PagerControlProps

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-view/generated/builders/trait-pagercontrolprops/

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

```rust
trait PagerControlProps: ElementBuilder
```

The properties and routed events of `PagerControl`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5818)

## Members

- [`display_mode`](#function-display_mode)
- [`number_of_pages`](#function-number_of_pages)
- [`selected_page_index`](#function-selected_page_index)
- [`first_button_visibility`](#function-first_button_visibility)
- [`previous_button_visibility`](#function-previous_button_visibility)
- [`next_button_visibility`](#function-next_button_visibility)
- [`last_button_visibility`](#function-last_button_visibility)
- [`first_button_command`](#function-first_button_command)
- [`previous_button_command`](#function-previous_button_command)
- [`next_button_command`](#function-next_button_command)
- [`last_button_command`](#function-last_button_command)
- [`pager_input_command`](#function-pager_input_command)
- [`first_button_style`](#function-first_button_style)
- [`previous_button_style`](#function-previous_button_style)
- [`next_button_style`](#function-next_button_style)
- [`last_button_style`](#function-last_button_style)
- [`button_panel_always_show_first_last_page_index`](#function-button_panel_always_show_first_last_page_index)
- [`prefix_text`](#function-prefix_text)
- [`suffix_text`](#function-suffix_text)
- [`template_settings`](#function-template_settings)

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

### display_mode

```rust
fn display_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::PagerControlDisplayMode, M>) -> Self
```

Sets `PagerControl::display_mode_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5820)

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

### number_of_pages

```rust
fn number_of_pages<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
```

Sets `PagerControl::number_of_pages_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5825)

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

### selected_page_index

```rust
fn selected_page_index<M>(self: Self, value: impl IntoProp<i32, M>) -> Self
```

Sets `PagerControl::selected_page_index_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5830)

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

### first_button_visibility

```rust
fn first_button_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::PagerControlButtonVisibility, M>) -> Self
```

Sets `PagerControl::first_button_visibility_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5835)

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

### previous_button_visibility

```rust
fn previous_button_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::PagerControlButtonVisibility, M>) -> Self
```

Sets `PagerControl::previous_button_visibility_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5840)

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

### next_button_visibility

```rust
fn next_button_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::PagerControlButtonVisibility, M>) -> Self
```

Sets `PagerControl::next_button_visibility_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5845)

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

### last_button_visibility

```rust
fn last_button_visibility<M>(self: Self, value: impl IntoProp<ferroui_controls::PagerControlButtonVisibility, M>) -> Self
```

Sets `PagerControl::last_button_visibility_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5850)

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

### first_button_command

```rust
fn first_button_command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
```

Sets `PagerControl::first_button_command_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5855)

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

### previous_button_command

```rust
fn previous_button_command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
```

Sets `PagerControl::previous_button_command_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5860)

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

### next_button_command

```rust
fn next_button_command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
```

Sets `PagerControl::next_button_command_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5865)

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

### last_button_command

```rust
fn last_button_command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
```

Sets `PagerControl::last_button_command_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5870)

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

### pager_input_command

```rust
fn pager_input_command<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::input::ICommand>>, M>) -> Self
```

Sets `PagerControl::pager_input_command_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5875)

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

### first_button_style

```rust
fn first_button_style<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
```

Sets `PagerControl::first_button_style_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5880)

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

### previous_button_style

```rust
fn previous_button_style<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
```

Sets `PagerControl::previous_button_style_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5885)

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

### next_button_style

```rust
fn next_button_style<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
```

Sets `PagerControl::next_button_style_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5890)

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

### last_button_style

```rust
fn last_button_style<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
```

Sets `PagerControl::last_button_style_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5895)

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

### button_panel_always_show_first_last_page_index

```rust
fn button_panel_always_show_first_last_page_index<M>(self: Self, value: impl IntoProp<bool, M>) -> Self
```

Sets `PagerControl::button_panel_always_show_first_last_page_index_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5900)

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

### prefix_text

```rust
fn prefix_text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
```

Sets `PagerControl::prefix_text_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5905)

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

### suffix_text

```rust
fn suffix_text<M>(self: Self, value: impl IntoProp<String, M>) -> Self
```

Sets `PagerControl::suffix_text_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5910)

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

### template_settings

```rust
fn template_settings<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::primitives::PagerControlTemplateSettings>>, M>) -> Self
```

Sets `PagerControl::template_settings_property`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.View/generated/builders.rs#L5915)

## Trait implementations

- [`PagerControlProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-pagercontrolprops/)

## Availability

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