# FrameProps

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

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

```rust
trait FrameProps: ElementBuilder
```

The properties and routed events of `Frame`.

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

## Members

- [`cache_size`](#function-cache_size)
- [`is_navigation_stack_enabled`](#function-is_navigation_stack_enabled)

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

### cache_size

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

Sets `Frame::cache_size_property`.

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

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

### is_navigation_stack_enabled

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

Sets `Frame::is_navigation_stack_enabled_property`.

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

## Trait implementations

- [`FrameProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-frameprops/)

## Availability

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