# MultiPageImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/page/trait-multipageimpl/

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

```rust
trait MultiPageImpl: PageImpl + $crate::Upcast<MultiPage>
```

The overridable members introduced by the class.

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

## Members

- [`update_active_page_with`](#function-update_active_page_with)

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

### update_active_page_with

```rust
fn update_active_page_with(this: &Self, navigation_type: NavigationType)
```

Called when the active child page changes.

The base class calls this method in the following situations,
passing the corresponding navigation type:

- `NavigationType::Replace`: the `Pages` collection was
  assigned, a new item was added, or the active page changed for
  any reason not covered below.
- `NavigationType::Remove`: the currently active page was
  removed from the `Pages` collection or the collection was reset
  and the active page is no longer present. Subclasses should
  select a replacement page.

Subclasses may also call this method directly with any navigation
type appropriate for their own navigation model.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/page/multi_page.rs#L44)

## Trait implementations

- [`MultiPageImpl`](/docs/0.5.0/api/ferroui-controls/page/trait-multipageimpl/)

## Availability

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