# DrawerPageProps

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

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

```rust
trait DrawerPageProps: ElementBuilder
```

The properties and routed events of `DrawerPage`.

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

## Members

- [`drawer`](#function-drawer)
- [`content`](#function-content)
- [`is_open`](#function-is_open)
- [`drawer_length`](#function-drawer_length)
- [`compact_drawer_length`](#function-compact_drawer_length)
- [`drawer_breakpoint_length`](#function-drawer_breakpoint_length)
- [`is_gesture_enabled`](#function-is_gesture_enabled)
- [`drawer_behavior`](#function-drawer_behavior)
- [`drawer_layout_behavior`](#function-drawer_layout_behavior)
- [`drawer_placement`](#function-drawer_placement)
- [`drawer_header`](#function-drawer_header)
- [`drawer_footer`](#function-drawer_footer)
- [`drawer_header_template`](#function-drawer_header_template)
- [`drawer_footer_template`](#function-drawer_footer_template)
- [`drawer_icon`](#function-drawer_icon)
- [`drawer_icon_template`](#function-drawer_icon_template)
- [`drawer_template`](#function-drawer_template)
- [`content_template`](#function-content_template)
- [`drawer_background`](#function-drawer_background)
- [`drawer_header_background`](#function-drawer_header_background)
- [`drawer_header_foreground`](#function-drawer_header_foreground)
- [`drawer_footer_background`](#function-drawer_footer_background)
- [`drawer_footer_foreground`](#function-drawer_footer_foreground)
- [`backdrop_brush`](#function-backdrop_brush)
- [`horizontal_content_alignment`](#function-horizontal_content_alignment)
- [`vertical_content_alignment`](#function-vertical_content_alignment)
- [`display_mode`](#function-display_mode)
- [`on_opened`](#function-on_opened)
- [`on_closed`](#function-on_closed)

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

### drawer

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

Sets `DrawerPage::drawer_property`.

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

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

### content

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

Sets `DrawerPage::content_property`.

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

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

### is_open

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

Sets `DrawerPage::is_open_property`.

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

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

### drawer_length

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

Sets `DrawerPage::drawer_length_property`.

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

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

### compact_drawer_length

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

Sets `DrawerPage::compact_drawer_length_property`.

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

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

### drawer_breakpoint_length

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

Sets `DrawerPage::drawer_breakpoint_length_property`.

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

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

### is_gesture_enabled

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

Sets `DrawerPage::is_gesture_enabled_property`.

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

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

### drawer_behavior

```rust
fn drawer_behavior<M>(self: Self, value: impl IntoProp<ferroui_controls::DrawerBehavior, M>) -> Self
```

Sets `DrawerPage::drawer_behavior_property`.

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

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

### drawer_layout_behavior

```rust
fn drawer_layout_behavior<M>(self: Self, value: impl IntoProp<ferroui_controls::DrawerLayoutBehavior, M>) -> Self
```

Sets `DrawerPage::drawer_layout_behavior_property`.

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

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

### drawer_placement

```rust
fn drawer_placement<M>(self: Self, value: impl IntoProp<ferroui_controls::DrawerPlacement, M>) -> Self
```

Sets `DrawerPage::drawer_placement_property`.

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

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

### drawer_header

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

Sets `DrawerPage::drawer_header_property`.

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

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

### drawer_footer

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

Sets `DrawerPage::drawer_footer_property`.

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

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

### drawer_header_template

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

Sets `DrawerPage::drawer_header_template_property`.

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

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

### drawer_footer_template

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

Sets `DrawerPage::drawer_footer_template_property`.

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

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

### drawer_icon

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

Sets `DrawerPage::drawer_icon_property`.

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

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

### drawer_icon_template

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

Sets `DrawerPage::drawer_icon_template_property`.

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

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

### drawer_template

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

Sets `DrawerPage::drawer_template_property`.

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

<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 `DrawerPage::content_template_property`.

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

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

### drawer_background

```rust
fn drawer_background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `DrawerPage::drawer_background_property`.

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

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

### drawer_header_background

```rust
fn drawer_header_background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `DrawerPage::drawer_header_background_property`.

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

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

### drawer_header_foreground

```rust
fn drawer_header_foreground<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `DrawerPage::drawer_header_foreground_property`.

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

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

### drawer_footer_background

```rust
fn drawer_footer_background<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `DrawerPage::drawer_footer_background_property`.

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

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

### drawer_footer_foreground

```rust
fn drawer_footer_foreground<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `DrawerPage::drawer_footer_foreground_property`.

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

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

### backdrop_brush

```rust
fn backdrop_brush<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::media::IBrush>>, M>) -> Self
```

Sets `DrawerPage::backdrop_brush_property`.

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

<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 `DrawerPage::horizontal_content_alignment_property`.

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

<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 `DrawerPage::vertical_content_alignment_property`.

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

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

### display_mode

```rust
fn display_mode<M>(self: Self, value: impl IntoProp<ferroui_controls::SplitViewDisplayMode, M>) -> Self
```

Sets `DrawerPage::display_mode_property`.

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

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

### on_opened

```rust
fn on_opened(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
```

Handles `DrawerPage::opened_event`.

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

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

### on_closed

```rust
fn on_closed(self: Self, handler: impl Fn(&ferroui_base::interactivity::RoutedEventArgs) -> () + 'static) -> Self
```

Handles `DrawerPage::closed_event`.

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

## Trait implementations

- [`DrawerPageProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-drawerpageprops/)

## Availability

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