# ContentPageProps

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

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

```rust
trait ContentPageProps: ElementBuilder
```

The properties and routed events of `ContentPage`.

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

## Members

- [`content`](#function-content)
- [`content_template`](#function-content_template)
- [`automatically_apply_safe_area_padding`](#function-automatically_apply_safe_area_padding)
- [`top_command_bar`](#function-top_command_bar)
- [`bottom_command_bar`](#function-bottom_command_bar)
- [`horizontal_content_alignment`](#function-horizontal_content_alignment)
- [`vertical_content_alignment`](#function-vertical_content_alignment)

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

### content

```rust
fn content<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
```

Sets `ContentPage::content_property`.

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

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

### content_template

```rust
fn content_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
```

Sets `ContentPage::content_template_property`.

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

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

### automatically_apply_safe_area_padding

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

Sets `ContentPage::automatically_apply_safe_area_padding_property`.

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

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

### top_command_bar

```rust
fn top_command_bar<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
```

Sets `ContentPage::top_command_bar_property`.

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

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

### bottom_command_bar

```rust
fn bottom_command_bar<M>(self: Self, value: impl IntoProp<Option<ferroui_base::BoxedValue>, M>) -> Self
```

Sets `ContentPage::bottom_command_bar_property`.

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

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

### horizontal_content_alignment

```rust
fn horizontal_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self
```

Sets `ContentPage::horizontal_content_alignment_property`.

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

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

### vertical_content_alignment

```rust
fn vertical_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self
```

Sets `ContentPage::vertical_content_alignment_property`.

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

## Trait implementations

- [`ContentPageProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-contentpageprops/)

## Availability

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