# FrameNavigationOptions

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

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

```rust
struct FrameNavigationOptions
```

The options of one navigation (WinUI's `FrameNavigationOptions`). Clones share the values.

Missing (docs/porting/winui-controls.md, section 10.4): `TransitionInfoOverride`, FerroUI's
frame has no navigation transitions.

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

## Members

- [`new`](#function-new)
- [`is_navigation_stack_enabled`](#function-is_navigation_stack_enabled)
- [`set_is_navigation_stack_enabled`](#function-set_is_navigation_stack_enabled)

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

### new

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

Creates the options of a navigation that is recorded in the journal.

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

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

### is_navigation_stack_enabled

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

Gets whether the navigation is recorded in the journal. `true` by default.

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

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

### set_is_navigation_stack_enabled

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

Sets whether the navigation is recorded in the journal.

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- [`PropertyValue`](/docs/0.5.0/api/ferroui-base/trait-propertyvalue/)
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- `Clone`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Default`
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- [`ValueTypeRegistration`](/docs/0.5.0/api/ferroui-base/data/core/trait-valuetyperegistration/)

## Availability

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