# NavigationPage

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

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

```rust
struct NavigationPage
```

A navigation page that supports simple stack-based navigation.

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

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`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)
- [`content_property`](#function-content_property)
- [`page_transition_property`](#function-page_transition_property)
- [`modal_transition_property`](#function-modal_transition_property)
- [`is_back_button_effectively_visible_property`](#function-is_back_button_effectively_visible_property)
- [`bar_layout_behavior_property`](#function-bar_layout_behavior_property)
- [`has_shadow_property`](#function-has_shadow_property)
- [`bar_height_property`](#function-bar_height_property)
- [`bar_height_override_property`](#function-bar_height_override_property)
- [`effective_bar_height_property`](#function-effective_bar_height_property)
- [`back_button_content_property`](#function-back_button_content_property)
- [`has_back_button_property`](#function-has_back_button_property)
- [`is_back_button_visible_property`](#function-is_back_button_visible_property)
- [`top_command_bar_property`](#function-top_command_bar_property)
- [`bottom_command_bar_property`](#function-bottom_command_bar_property)
- [`has_navigation_bar_property`](#function-has_navigation_bar_property)
- [`is_gesture_enabled_property`](#function-is_gesture_enabled_property)
- [`is_navigating_property`](#function-is_navigating_property)
- [`can_go_back_property`](#function-can_go_back_property)
- [`is_back_button_enabled_property`](#function-is_back_button_enabled_property)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`as_navigation`](#function-as_navigation)
- [`page_transition`](#function-page_transition)
- [`set_page_transition`](#function-set_page_transition)
- [`modal_transition`](#function-modal_transition)
- [`set_modal_transition`](#function-set_modal_transition)
- [`is_back_button_effectively_visible`](#function-is_back_button_effectively_visible)
- [`content`](#function-content)
- [`set_content`](#function-set_content)
- [`has_shadow`](#function-has_shadow)
- [`set_has_shadow`](#function-set_has_shadow)
- [`bar_height`](#function-bar_height)
- [`set_bar_height`](#function-set_bar_height)
- [`effective_bar_height`](#function-effective_bar_height)
- [`is_back_button_visible`](#function-is_back_button_visible)
- [`set_is_back_button_visible`](#function-set_is_back_button_visible)
- [`is_gesture_enabled`](#function-is_gesture_enabled)
- [`set_is_gesture_enabled`](#function-set_is_gesture_enabled)
- [`is_navigating`](#function-is_navigating)
- [`can_go_back`](#function-can_go_back)
- [`navigation_stack`](#function-navigation_stack)
- [`modal_stack`](#function-modal_stack)
- [`stack_depth`](#function-stack_depth)
- [`get_back_button_content`](#function-get_back_button_content)
- [`set_back_button_content`](#function-set_back_button_content)
- [`get_has_back_button`](#function-get_has_back_button)
- [`set_has_back_button`](#function-set_has_back_button)
- [`get_header`](#function-get_header)
- [`set_header`](#function-set_header)
- [`get_top_command_bar`](#function-get_top_command_bar)
- [`set_top_command_bar`](#function-set_top_command_bar)
- [`get_bottom_command_bar`](#function-get_bottom_command_bar)
- [`set_bottom_command_bar`](#function-set_bottom_command_bar)
- [`get_has_navigation_bar`](#function-get_has_navigation_bar)
- [`set_has_navigation_bar`](#function-set_has_navigation_bar)
- [`get_bar_layout_behavior`](#function-get_bar_layout_behavior)
- [`set_bar_layout_behavior`](#function-set_bar_layout_behavior)
- [`get_bar_height_override`](#function-get_bar_height_override)
- [`set_bar_height_override`](#function-set_bar_height_override)
- [`get_is_back_button_enabled`](#function-get_is_back_button_enabled)
- [`set_is_back_button_enabled`](#function-set_is_back_button_enabled)
- [`pushed`](#function-pushed)
- [`popped`](#function-popped)
- [`popped_to_root`](#function-popped_to_root)
- [`page_inserted`](#function-page_inserted)
- [`page_removed`](#function-page_removed)
- [`modal_pushed`](#function-modal_pushed)
- [`modal_popped`](#function-modal_popped)
- [`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)
- [`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)
- [`remove_page`](#function-remove_page)
- [`insert_page`](#function-insert_page)
- [`replace_async`](#function-replace_async)
- [`replace_async_with_transition`](#function-replace_async_with_transition)
- [`replace_async_with_parameter`](#function-replace_async_with_parameter)

<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/page/navigation_page.rs#L107)

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

### to_ref

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

Returns a strong reference to this object.

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

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

### push_async_task

```rust
fn push_async_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L762)

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

### push_async_with_transition_task

```rust
fn push_async_with_transition_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L769)

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

### push_async_with_parameter_task

```rust
fn push_async_with_parameter_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L780)

<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/navigation_page.rs#L792)

<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/navigation_page.rs#L799)

<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/navigation_page.rs#L809)

<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/navigation_page.rs#L817)

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

### pop_to_page_async_task

```rust
fn pop_to_page_async_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L827)

<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: impl IntoRef<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/navigation_page.rs#L835)

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

### replace_async_task

```rust
fn replace_async_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L846)

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

### replace_async_with_transition_task

```rust
fn replace_async_with_transition_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L854)

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

### replace_async_with_parameter_task

```rust
fn replace_async_with_parameter_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L865)

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

### push_modal_async_task

```rust
fn push_modal_async_task(self: &Self, page: impl IntoRef<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/navigation_page.rs#L877)

<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: impl IntoRef<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/navigation_page.rs#L885)

<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: impl IntoRef<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/navigation_page.rs#L897)

<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/navigation_page.rs#L909)

<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/navigation_page.rs#L917)

<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/navigation_page.rs#L927)

<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/navigation_page.rs#L935)

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

### content_property

```rust
fn content_property() -> &'static StyledProperty<Option<BoxedValue>>
```

Defines the `Content` property.

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

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

### page_transition_property

```rust
fn page_transition_property() -> &'static StyledProperty<Option<Rc<dyn IPageTransition>>>
```

Defines the `PageTransition` property.

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

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

### modal_transition_property

```rust
fn modal_transition_property() -> &'static StyledProperty<Option<Rc<dyn IPageTransition>>>
```

Defines the `ModalTransition` property.

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

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

### is_back_button_effectively_visible_property

```rust
fn is_back_button_effectively_visible_property() -> &'static DirectProperty<NavigationPage, bool>
```

Defines the `IsBackButtonEffectivelyVisible` property.

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

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

### bar_layout_behavior_property

```rust
fn bar_layout_behavior_property() -> &'static AttachedProperty<Option<BarLayoutBehavior>>
```

Defines the `BarLayoutBehavior` attached property.

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

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

### has_shadow_property

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

Defines the `HasShadow` property.

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

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

### bar_height_property

```rust
fn bar_height_property() -> &'static StyledProperty<f64>
```

Defines the `BarHeight` property.

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

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

### bar_height_override_property

```rust
fn bar_height_override_property() -> &'static AttachedProperty<Option<f64>>
```

Defines the `BarHeightOverride` attached property.

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

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

### effective_bar_height_property

```rust
fn effective_bar_height_property() -> &'static DirectProperty<NavigationPage, f64>
```

Defines the `EffectiveBarHeight` property.

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

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

### back_button_content_property

```rust
fn back_button_content_property() -> &'static AttachedProperty<Option<BoxedValue>>
```

Defines the `BackButtonContent` attached property.

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

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

### has_back_button_property

```rust
fn has_back_button_property() -> &'static AttachedProperty<bool>
```

Defines the `HasBackButton` attached property.

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

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

### is_back_button_visible_property

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

Defines the `IsBackButtonVisible` property.

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

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

### top_command_bar_property

```rust
fn top_command_bar_property() -> &'static AttachedProperty<Option<Ref<Control>>>
```

Defines the `TopCommandBar` attached property.

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

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

### bottom_command_bar_property

```rust
fn bottom_command_bar_property() -> &'static AttachedProperty<Option<Ref<Control>>>
```

Defines the `BottomCommandBar` attached property.

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

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

### has_navigation_bar_property

```rust
fn has_navigation_bar_property() -> &'static AttachedProperty<bool>
```

Defines the `HasNavigationBar` attached property.

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

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

### is_gesture_enabled_property

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

Defines the `IsGestureEnabled` property.

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

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

### is_navigating_property

```rust
fn is_navigating_property() -> &'static DirectProperty<NavigationPage, bool>
```

Defines the `IsNavigating` property.

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

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

### can_go_back_property

```rust
fn can_go_back_property() -> &'static DirectProperty<NavigationPage, bool>
```

Defines the `CanGoBack` property.

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

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

### is_back_button_enabled_property

```rust
fn is_back_button_enabled_property() -> &'static AttachedProperty<bool>
```

Defines the `IsBackButtonEnabled` attached property.

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

<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/page/navigation_page.rs#L1224)

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

### new

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

Initializes a new instance of the navigation page.

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

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

### as_navigation

```rust
fn as_navigation(self: &Self) -> Rc<dyn INavigation>
```

The navigation page as the navigation service of the pages it hosts.

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

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

### page_transition

```rust
fn page_transition(self: &Self) -> Option<Rc<dyn IPageTransition>>
```

The transition used when pushing or popping pages.

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

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

### set_page_transition

```rust
fn set_page_transition(self: &Self, value: Option<Rc<dyn IPageTransition>>)
```



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

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

### modal_transition

```rust
fn modal_transition(self: &Self) -> Option<Rc<dyn IPageTransition>>
```

The transition used when presenting or dismissing modal pages.

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

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

### set_modal_transition

```rust
fn set_modal_transition(self: &Self, value: Option<Rc<dyn IPageTransition>>)
```



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

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

### is_back_button_effectively_visible

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

The effective back-button visibility.

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

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

### content

```rust
fn content(self: &Self) -> Option<BoxedValue>
```

The root page of the navigation stack.

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

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

### set_content

```rust
fn set_content(self: &Self, value: Option<BoxedValue>)
```



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

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

### has_shadow

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

Whether the navigation bar has a shadow.

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

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

### set_has_shadow

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



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

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

### bar_height

```rust
fn bar_height(self: &Self) -> f64
```

The height of the navigation bar.

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

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

### set_bar_height

```rust
fn set_bar_height(self: &Self, value: f64)
```



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

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

### effective_bar_height

```rust
fn effective_bar_height(self: &Self) -> f64
```

The effective navigation bar height.

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

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

### is_back_button_visible

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

Whether the back button is globally visible for this navigation
page.

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

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

### set_is_back_button_visible

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



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

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

### is_gesture_enabled

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

Whether edge-swipe gestures can be used to navigate back.

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

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

### set_is_gesture_enabled

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



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

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

### is_navigating

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

Whether a navigation operation is currently in progress.

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

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

### can_go_back

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

Whether the navigation stack has more than one entry.

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

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

### navigation_stack

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

The current navigation stack as a read-only list: the root page
first, the visible page last. The same list is returned until the
stack changes.

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

<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/navigation_page.rs#L1454)

<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/navigation_page.rs#L1465)

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

### get_back_button_content

```rust
fn get_back_button_content(page: &Page) -> Option<BoxedValue>
```

Gets the custom back-button content for the specified page.

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

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

### set_back_button_content

```rust
fn set_back_button_content(page: &Page, content: Option<BoxedValue>)
```

Sets custom content for the back button on the specified page.

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

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

### get_has_back_button

```rust
fn get_has_back_button(page: &Page) -> bool
```

Gets whether the back button is visible for the specified page.

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

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

### set_has_back_button

```rust
fn set_has_back_button(page: &Page, value: bool)
```

Sets whether the back button is visible for the specified page.

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

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

### get_header

```rust
fn get_header(page: &Page) -> Option<BoxedValue>
```

Gets the header of the specified page.

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

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

### set_header

```rust
fn set_header(page: &Page, header: Option<BoxedValue>)
```

Sets the header of the specified page.

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

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

### get_top_command_bar

```rust
fn get_top_command_bar(page: &Page) -> Option<Ref<Control>>
```

Gets the top command bar assigned to the specified page.

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

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

### set_top_command_bar

```rust
fn set_top_command_bar(page: &Page, command_bar: impl Into<Nullable<Control>>)
```

Sets a top command bar for the specified page.

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

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

### get_bottom_command_bar

```rust
fn get_bottom_command_bar(page: &Page) -> Option<Ref<Control>>
```

Gets the bottom command bar assigned to the specified page.

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

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

### set_bottom_command_bar

```rust
fn set_bottom_command_bar(page: &Page, command_bar: impl Into<Nullable<Control>>)
```

Sets a bottom command bar for the specified page.

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

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

### get_has_navigation_bar

```rust
fn get_has_navigation_bar(page: &Page) -> bool
```

Gets whether the navigation bar is visible for the specified page.

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

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

### set_has_navigation_bar

```rust
fn set_has_navigation_bar(page: &Page, value: bool)
```

Sets whether the navigation bar is visible for the specified page.

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

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

### get_bar_layout_behavior

```rust
fn get_bar_layout_behavior(page: &Page) -> Option<BarLayoutBehavior>
```

Gets the bar layout behavior for the specified page.

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

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

### set_bar_layout_behavior

```rust
fn set_bar_layout_behavior(page: &Page, value: Option<BarLayoutBehavior>)
```

Sets the bar layout behavior for the specified page.

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

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

### get_bar_height_override

```rust
fn get_bar_height_override(page: &Page) -> Option<f64>
```

Gets the per-page navigation bar height override for the specified
page.

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

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

### set_bar_height_override

```rust
fn set_bar_height_override(page: &Page, value: Option<f64>)
```

Sets the per-page navigation bar height override.

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

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

### get_is_back_button_enabled

```rust
fn get_is_back_button_enabled(page: &Page) -> bool
```

Gets whether the back button is enabled for the specified page.

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

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

### set_is_back_button_enabled

```rust
fn set_is_back_button_enabled(page: &Page, value: bool)
```

Sets whether the back button is enabled for the specified page.

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

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

### pushed

```rust
fn pushed(self: &Self, handler: impl Fn(&NavigationEventArgs) -> () + 'static) -> Subscription
```

Occurs when a page is pushed onto the navigation stack.

Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the page.

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

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

### popped

```rust
fn popped(self: &Self, handler: impl Fn(&NavigationEventArgs) -> () + 'static) -> Subscription
```

Occurs when a page is popped from the navigation stack.

Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the page.

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

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

### popped_to_root

```rust
fn popped_to_root(self: &Self, handler: impl Fn(&NavigationEventArgs) -> () + 'static) -> Subscription
```

Occurs when the stack is popped to root.

The page of the args is the root page that is now current, not any
of the pages that were popped. To observe each popped page
individually, subscribe to `popped`.

Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the page.

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

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

### page_inserted

```rust
fn page_inserted(self: &Self, handler: impl Fn(&PageInsertedEventArgs) -> () + 'static) -> Subscription
```

Occurs when a page has been inserted into the navigation stack.

Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the page.

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

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

### page_removed

```rust
fn page_removed(self: &Self, handler: impl Fn(&PageRemovedEventArgs) -> () + 'static) -> Subscription
```

Occurs when a page has been removed from the navigation stack.

Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the page.

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

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

### modal_pushed

```rust
fn modal_pushed(self: &Self, handler: impl Fn(&ModalPushedEventArgs) -> () + 'static) -> Subscription
```

Occurs when a modal page is pushed.

Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the page.

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

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

### modal_popped

```rust
fn modal_popped(self: &Self, handler: impl Fn(&ModalPoppedEventArgs) -> () + 'static) -> Subscription
```

Occurs when a modal page is popped.

Dropping the returned guard removes the handler;
`Subscription::detach` keeps it for the life of the page.

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

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

### push_async

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

Pushes `page` onto the navigation stack asynchronously using the
page transition of the navigation page.

If a navigation transition is already in progress, the call returns
immediately without pushing the page and without raising any events.
If a `Navigating` handler of the outgoing page cancels, the push is
silently aborted: the stack is not modified, no events are raised,
and nothing panics.

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

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

### push_async_with_transition

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

Pushes `page` onto the navigation stack asynchronously using
`transition`.

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

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

### push_async_with_parameter

```rust
fn push_async_with_parameter(self: &Self, page: impl IntoRef<Page>, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> JoinHandle<()>
```

Pushes `page` onto the navigation stack asynchronously using
`transition`, with an optional `parameter`.

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

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

### pop_async

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

Pops the top page from the navigation stack asynchronously using the
page transition of the navigation page.

The result is `None` if the stack has only the root page or if a
navigation transition is already in progress.

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

<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 from the navigation stack asynchronously using
`transition`.

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

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

### pop_to_root_async

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

Pops all pages to the root page using the page transition of the
navigation page.

If a navigation transition is already in progress, the call returns
immediately without modifying the stack and without raising any
events.

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

<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 to the root page using `transition`.

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

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

### pop_to_page_async

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

Pops to a specific page in the stack using the page transition of
the navigation page.

All pages above `page` are removed from the stack. Each removed page
is navigated from with `NavigationType::Pop`, and the popped event
is raised for each one. The target page is navigated to with
`NavigationType::Pop`. If `page` is already the top of the stack
the method returns immediately without raising any events.

If a navigation transition is already in progress, the call returns
immediately without modifying the stack and without raising any
events.

The task fails when `page` is not in the navigation stack.

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

<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: impl IntoRef<Page>, transition: Option<Rc<dyn IPageTransition>>) -> JoinHandle<()>
```

Pops all pages above `page` using `transition`.

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

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

### push_modal_async

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

Pushes a modal page using the modal transition of the navigation
page.

If a navigation transition is already in progress, the call returns
immediately without pushing the page and without raising any events.

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

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

### push_modal_async_with_transition

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

Pushes `page` as a modal page using `transition`.

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

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

### push_modal_async_with_parameter

```rust
fn push_modal_async_with_parameter(self: &Self, page: impl IntoRef<Page>, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> JoinHandle<()>
```

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

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

<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 modal transition of the
navigation page.

The result is `None` if there are no modal pages or if a navigation
transition is already in progress.

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

<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`.

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

<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 using the modal transition of the navigation
page.

All modals are dismissed in a single transition rather than
one-by-one, so lifecycle events differ from popping the modals in a
loop:

- The `Navigating` event is consulted only on the topmost modal.
  Intermediate modals do not receive a cancellation opportunity. If
  the top modal cancels, the entire dismiss is aborted and no modals
  are popped.
- Every dismissed modal is navigated from, in LIFO order.
- Only the current page is navigated to.

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

<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`.

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

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

### remove_page

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

Removes a page from the navigation stack without animation.

If a navigation transition is already in progress, this call is a
no-op: the page is not removed and no events are raised.

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

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

### insert_page

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

Inserts a page into the stack before the specified page.

If a navigation transition is already in progress, this call is a
no-op: the page is not inserted and no events are raised.
## 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/navigation_page.rs#L2622)

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

### replace_async

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

Replaces the top page with `page` using the page transition of the
navigation page.

If a navigation transition is already in progress, the call returns
immediately without modifying the stack and without raising any
events.

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

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

### replace_async_with_transition

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

Replaces the top page with `page` using `transition`.

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

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

### replace_async_with_parameter

```rust
fn replace_async_with_parameter(self: &Self, page: impl IntoRef<Page>, transition: Option<Rc<dyn IPageTransition>>, parameter: Option<BoxedValue>) -> JoinHandle<()>
```

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

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

## 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/)
- [`PageImplExt`](/docs/0.5.0/api/ferroui-controls/page/trait-pageimplext/)
- [`MultiPageImplExt`](/docs/0.5.0/api/ferroui-controls/page/trait-multipageimplext/)
- `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<NavigationPage>`](/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/)
- [`InteractiveImpl`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimpl/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`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/)
- [`InputElementImpl`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimpl/)
- [`TemplatedControlImpl`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimpl/)
- [`PageImpl`](/docs/0.5.0/api/ferroui-controls/page/trait-pageimpl/)
- [`MultiPageImpl`](/docs/0.5.0/api/ferroui-controls/page/trait-multipageimpl/)
- [`ControlImpl`](/docs/0.5.0/api/ferroui-controls/trait-controlimpl/)

## Availability

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