# INavigation

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

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

```rust
trait INavigation: 'static
```

Provides navigation operations for stack-based and modal page
navigation. Exposed via the `Navigation` property of a page when the
page is hosted in a navigation page.

Not meant to be implemented by client code.

The asynchronous members give the `JoinHandle` of a task of the
dispatcher of the calling thread: awaited, it gives the outcome of the
navigation, or a `JoinError` (`Panicked` when the navigation failed,
`Canceled` when its task was aborted or the dispatcher shut down);
dropped, the navigation goes on. Their deprecated `..._task` forms give a
`DispatcherTask`, which raises a failure again when it is observed.

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

## Members

- [`navigation_stack`](#function-navigation_stack)
- [`modal_stack`](#function-modal_stack)
- [`stack_depth`](#function-stack_depth)
- [`can_go_back`](#function-can_go_back)
- [`push_async`](#function-push_async)
- [`push_async_with_transition`](#function-push_async_with_transition)
- [`push_async_with_parameter`](#function-push_async_with_parameter)
- [`pop_async`](#function-pop_async)
- [`pop_async_with_transition`](#function-pop_async_with_transition)
- [`pop_to_root_async`](#function-pop_to_root_async)
- [`pop_to_root_async_with_transition`](#function-pop_to_root_async_with_transition)
- [`pop_to_page_async`](#function-pop_to_page_async)
- [`pop_to_page_async_with_transition`](#function-pop_to_page_async_with_transition)
- [`replace_async`](#function-replace_async)
- [`replace_async_with_transition`](#function-replace_async_with_transition)
- [`replace_async_with_parameter`](#function-replace_async_with_parameter)
- [`push_modal_async`](#function-push_modal_async)
- [`push_modal_async_with_transition`](#function-push_modal_async_with_transition)
- [`push_modal_async_with_parameter`](#function-push_modal_async_with_parameter)
- [`pop_modal_async`](#function-pop_modal_async)
- [`pop_modal_async_with_transition`](#function-pop_modal_async_with_transition)
- [`pop_all_modals_async`](#function-pop_all_modals_async)
- [`pop_all_modals_async_with_transition`](#function-pop_all_modals_async_with_transition)
- [`push_async_task`](#function-push_async_task)
- [`push_async_with_transition_task`](#function-push_async_with_transition_task)
- [`push_async_with_parameter_task`](#function-push_async_with_parameter_task)
- [`pop_async_task`](#function-pop_async_task)
- [`pop_async_with_transition_task`](#function-pop_async_with_transition_task)
- [`pop_to_root_async_task`](#function-pop_to_root_async_task)
- [`pop_to_root_async_with_transition_task`](#function-pop_to_root_async_with_transition_task)
- [`pop_to_page_async_task`](#function-pop_to_page_async_task)
- [`pop_to_page_async_with_transition_task`](#function-pop_to_page_async_with_transition_task)
- [`replace_async_task`](#function-replace_async_task)
- [`replace_async_with_transition_task`](#function-replace_async_with_transition_task)
- [`replace_async_with_parameter_task`](#function-replace_async_with_parameter_task)
- [`push_modal_async_task`](#function-push_modal_async_task)
- [`push_modal_async_with_transition_task`](#function-push_modal_async_with_transition_task)
- [`push_modal_async_with_parameter_task`](#function-push_modal_async_with_parameter_task)
- [`pop_modal_async_task`](#function-pop_modal_async_task)
- [`pop_modal_async_with_transition_task`](#function-pop_modal_async_with_transition_task)
- [`pop_all_modals_async_task`](#function-pop_all_modals_async_task)
- [`pop_all_modals_async_with_transition_task`](#function-pop_all_modals_async_with_transition_task)
- [`insert_page`](#function-insert_page)
- [`remove_page`](#function-remove_page)

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

### navigation_stack

```rust
fn navigation_stack(self: &Self) -> Rc<Vec<Ref<Page>>>
```

The current navigation stack. The root page is at index 0; the
visible page is last.

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

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

### modal_stack

```rust
fn modal_stack(self: &Self) -> Rc<Vec<Ref<Page>>>
```

The current modal stack. Index 0 is the oldest (bottom-most) modal;
the last index is the most recently pushed (topmost) modal.

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

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

### stack_depth

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

The number of pages in the navigation stack.

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

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

### can_go_back

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

Whether a pop operation is possible (the stack has more than one
entry).

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

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

### push_async

```rust
fn push_async(self: &Self, page: Ref<Page>) -> JoinHandle<()>
```

Pushes `page` using the host's default transition.

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

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

### push_async_with_transition

```rust
fn push_async_with_transition(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<()>
```

Pushes `page` using `transition`. Pass `None` for no animation.

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

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

### push_async_with_parameter

```rust
fn push_async_with_parameter(self: &Self, _page: Ref<Page>, _transition: Option<Rc<dyn IPageTransition>>, _parameter: Option<BoxedValue>) -> JoinHandle<()>
```

Pushes `page` using `transition` with an optional `parameter`.

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

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

### pop_async

```rust
fn pop_async(self: &Self) -> JoinHandle<Option<Ref<Page>>>
```

Pops the top page using the host's default transition.

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

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

### pop_async_with_transition

```rust
fn pop_async_with_transition(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<Option<Ref<Page>>>
```

Pops the top page using `transition`. Pass `None` for no animation.

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

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

### pop_to_root_async

```rust
fn pop_to_root_async(self: &Self) -> JoinHandle<()>
```

Pops all pages above the root using the host's default transition.

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

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

### pop_to_root_async_with_transition

```rust
fn pop_to_root_async_with_transition(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<()>
```

Pops all pages above the root using `transition`. Pass `None` for no
animation.

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

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

### pop_to_page_async

```rust
fn pop_to_page_async(self: &Self, page: Ref<Page>) -> JoinHandle<()>
```

Pops all pages above `page` using the host's default transition.

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

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

### pop_to_page_async_with_transition

```rust
fn pop_to_page_async_with_transition(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<()>
```

Pops all pages above `page` using `transition`. Pass `None` for no
animation.

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

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

### replace_async

```rust
fn replace_async(self: &Self, page: Ref<Page>) -> JoinHandle<()>
```

Replaces the current top page with `page` using the host's default
transition.

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

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

### replace_async_with_transition

```rust
fn replace_async_with_transition(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<()>
```

Replaces the current top page with `page` using `transition`. Pass
`None` for no animation.

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

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

### replace_async_with_parameter

```rust
fn replace_async_with_parameter(self: &Self, _page: Ref<Page>, _transition: Option<Rc<dyn IPageTransition>>, _parameter: Option<BoxedValue>) -> JoinHandle<()>
```

Replaces the current top page with `page` using `transition` with an
optional `parameter`.

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

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

### push_modal_async

```rust
fn push_modal_async(self: &Self, page: Ref<Page>) -> JoinHandle<()>
```

Pushes `page` as a modal using the host's modal transition.

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

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

### push_modal_async_with_transition

```rust
fn push_modal_async_with_transition(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<()>
```

Pushes `page` as a modal using `transition`. Pass `None` for no
animation.

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

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

### push_modal_async_with_parameter

```rust
fn push_modal_async_with_parameter(self: &Self, _page: Ref<Page>, _transition: Option<Rc<dyn IPageTransition>>, _parameter: Option<BoxedValue>) -> JoinHandle<()>
```

Pushes `page` as a modal using `transition` with an optional
`parameter`.

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

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

### pop_modal_async

```rust
fn pop_modal_async(self: &Self) -> JoinHandle<Option<Ref<Page>>>
```

Pops the top modal page using the host's modal transition.

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

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

### pop_modal_async_with_transition

```rust
fn pop_modal_async_with_transition(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<Option<Ref<Page>>>
```

Pops the top modal page using `transition`. Pass `None` for no
animation.

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

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

### pop_all_modals_async

```rust
fn pop_all_modals_async(self: &Self) -> JoinHandle<()>
```

Pops all modal pages, animating only the topmost dismissal.

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

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

### pop_all_modals_async_with_transition

```rust
fn pop_all_modals_async_with_transition(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<()>
```

Pops all modal pages using `transition`. Pass `None` for no
animation.

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

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

### push_async_task

```rust
fn push_async_task(self: &Self, page: Ref<Page>) -> DispatcherTask<()>
```

The deprecated form of `push_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `push_async`, which gives a `JoinHandle`

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

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

### push_async_with_transition_task

```rust
fn push_async_with_transition_task(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<()>
```

The deprecated form of `push_async_with_transition`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `push_async_with_transition`, which gives a `JoinHandle`

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

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

### push_async_with_parameter_task

```rust
fn push_async_with_parameter_task(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> DispatcherTask<()>
```

The deprecated form of `push_async_with_parameter`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `push_async_with_parameter`, which gives a `JoinHandle`

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

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

### pop_async_task

```rust
fn pop_async_task(self: &Self) -> DispatcherTask<Option<Ref<Page>>>
```

The deprecated form of `pop_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_async`, which gives a `JoinHandle`

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

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

### pop_async_with_transition_task

```rust
fn pop_async_with_transition_task(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<Option<Ref<Page>>>
```

The deprecated form of `pop_async_with_transition`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_async_with_transition`, which gives a `JoinHandle`

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

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

### pop_to_root_async_task

```rust
fn pop_to_root_async_task(self: &Self) -> DispatcherTask<()>
```

The deprecated form of `pop_to_root_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_to_root_async`, which gives a `JoinHandle`

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

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

### pop_to_root_async_with_transition_task

```rust
fn pop_to_root_async_with_transition_task(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<()>
```

The deprecated form of `pop_to_root_async_with_transition`:
a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_to_root_async_with_transition`, which gives a `JoinHandle`

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

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

### pop_to_page_async_task

```rust
fn pop_to_page_async_task(self: &Self, page: Ref<Page>) -> DispatcherTask<()>
```

The deprecated form of `pop_to_page_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_to_page_async`, which gives a `JoinHandle`

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

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

### pop_to_page_async_with_transition_task

```rust
fn pop_to_page_async_with_transition_task(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<()>
```

The deprecated form of `pop_to_page_async_with_transition`:
a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_to_page_async_with_transition`, which gives a `JoinHandle`

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

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

### replace_async_task

```rust
fn replace_async_task(self: &Self, page: Ref<Page>) -> DispatcherTask<()>
```

The deprecated form of `replace_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `replace_async`, which gives a `JoinHandle`

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

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

### replace_async_with_transition_task

```rust
fn replace_async_with_transition_task(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<()>
```

The deprecated form of `replace_async_with_transition`:
a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `replace_async_with_transition`, which gives a `JoinHandle`

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

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

### replace_async_with_parameter_task

```rust
fn replace_async_with_parameter_task(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> DispatcherTask<()>
```

The deprecated form of `replace_async_with_parameter`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `replace_async_with_parameter`, which gives a `JoinHandle`

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

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

### push_modal_async_task

```rust
fn push_modal_async_task(self: &Self, page: Ref<Page>) -> DispatcherTask<()>
```

The deprecated form of `push_modal_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `push_modal_async`, which gives a `JoinHandle`

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

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

### push_modal_async_with_transition_task

```rust
fn push_modal_async_with_transition_task(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<()>
```

The deprecated form of `push_modal_async_with_transition`:
a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `push_modal_async_with_transition`, which gives a `JoinHandle`

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

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

### push_modal_async_with_parameter_task

```rust
fn push_modal_async_with_parameter_task(self: &Self, page: Ref<Page>, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> DispatcherTask<()>
```

The deprecated form of `push_modal_async_with_parameter`:
a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `push_modal_async_with_parameter`, which gives a `JoinHandle`

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

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

### pop_modal_async_task

```rust
fn pop_modal_async_task(self: &Self) -> DispatcherTask<Option<Ref<Page>>>
```

The deprecated form of `pop_modal_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_modal_async`, which gives a `JoinHandle`

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

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

### pop_modal_async_with_transition_task

```rust
fn pop_modal_async_with_transition_task(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<Option<Ref<Page>>>
```

The deprecated form of `pop_modal_async_with_transition`:
a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_modal_async_with_transition`, which gives a `JoinHandle`

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

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

### pop_all_modals_async_task

```rust
fn pop_all_modals_async_task(self: &Self) -> DispatcherTask<()>
```

The deprecated form of `pop_all_modals_async`: a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_all_modals_async`, which gives a `JoinHandle`

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

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

### pop_all_modals_async_with_transition_task

```rust
fn pop_all_modals_async_with_transition_task(self: &Self, transition: Option<Rc<dyn IPageTransition>>) -> DispatcherTask<()>
```

The deprecated form of `pop_all_modals_async_with_transition`:
a `DispatcherTask`.

> **Deprecated since 0.5.0.** use `pop_all_modals_async_with_transition`, which gives a `JoinHandle`

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

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

### insert_page

```rust
fn insert_page(self: &Self, page: Ref<Page>, before: Ref<Page>)
```

Inserts `page` immediately before `before` in the stack. Does not
change the currently visible page.
## Panics
Panics when `before` is not in the navigation stack, or `page` is
already hosted by this navigation page.

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

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

### remove_page

```rust
fn remove_page(self: &Self, page: Ref<Page>)
```

Removes `page` from the navigation stack without animation. If
`page` is not in the stack the call is a no-op.

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

## Availability

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