# DrawerPage

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

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

```rust
struct DrawerPage
```

A page that provides a drawer pattern.

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

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`drawer_property`](#function-drawer_property)
- [`content_property`](#function-content_property)
- [`is_open_property`](#function-is_open_property)
- [`drawer_length_property`](#function-drawer_length_property)
- [`compact_drawer_length_property`](#function-compact_drawer_length_property)
- [`drawer_breakpoint_length_property`](#function-drawer_breakpoint_length_property)
- [`is_gesture_enabled_property`](#function-is_gesture_enabled_property)
- [`drawer_behavior_property`](#function-drawer_behavior_property)
- [`drawer_layout_behavior_property`](#function-drawer_layout_behavior_property)
- [`drawer_placement_property`](#function-drawer_placement_property)
- [`drawer_header_property`](#function-drawer_header_property)
- [`drawer_footer_property`](#function-drawer_footer_property)
- [`drawer_header_template_property`](#function-drawer_header_template_property)
- [`drawer_footer_template_property`](#function-drawer_footer_template_property)
- [`drawer_icon_property`](#function-drawer_icon_property)
- [`drawer_icon_template_property`](#function-drawer_icon_template_property)
- [`drawer_template_property`](#function-drawer_template_property)
- [`content_template_property`](#function-content_template_property)
- [`drawer_background_property`](#function-drawer_background_property)
- [`drawer_header_background_property`](#function-drawer_header_background_property)
- [`drawer_header_foreground_property`](#function-drawer_header_foreground_property)
- [`drawer_footer_background_property`](#function-drawer_footer_background_property)
- [`drawer_footer_foreground_property`](#function-drawer_footer_foreground_property)
- [`backdrop_brush_property`](#function-backdrop_brush_property)
- [`horizontal_content_alignment_property`](#function-horizontal_content_alignment_property)
- [`vertical_content_alignment_property`](#function-vertical_content_alignment_property)
- [`display_mode_property`](#function-display_mode_property)
- [`opened_event`](#function-opened_event)
- [`closing_event`](#function-closing_event)
- [`closed_event`](#function-closed_event)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`opened`](#function-opened)
- [`closing`](#function-closing)
- [`closed`](#function-closed)
- [`drawer`](#function-drawer)
- [`set_drawer`](#function-set_drawer)
- [`content`](#function-content)
- [`set_content`](#function-set_content)
- [`is_open`](#function-is_open)
- [`set_is_open`](#function-set_is_open)
- [`drawer_length`](#function-drawer_length)
- [`set_drawer_length`](#function-set_drawer_length)
- [`compact_drawer_length`](#function-compact_drawer_length)
- [`set_compact_drawer_length`](#function-set_compact_drawer_length)
- [`drawer_breakpoint_length`](#function-drawer_breakpoint_length)
- [`set_drawer_breakpoint_length`](#function-set_drawer_breakpoint_length)
- [`is_gesture_enabled`](#function-is_gesture_enabled)
- [`set_is_gesture_enabled`](#function-set_is_gesture_enabled)
- [`drawer_behavior`](#function-drawer_behavior)
- [`set_drawer_behavior`](#function-set_drawer_behavior)
- [`drawer_layout_behavior`](#function-drawer_layout_behavior)
- [`set_drawer_layout_behavior`](#function-set_drawer_layout_behavior)
- [`drawer_placement`](#function-drawer_placement)
- [`set_drawer_placement`](#function-set_drawer_placement)
- [`drawer_header`](#function-drawer_header)
- [`set_drawer_header`](#function-set_drawer_header)
- [`drawer_footer`](#function-drawer_footer)
- [`set_drawer_footer`](#function-set_drawer_footer)
- [`drawer_header_template`](#function-drawer_header_template)
- [`set_drawer_header_template`](#function-set_drawer_header_template)
- [`drawer_footer_template`](#function-drawer_footer_template)
- [`set_drawer_footer_template`](#function-set_drawer_footer_template)
- [`drawer_icon`](#function-drawer_icon)
- [`set_drawer_icon`](#function-set_drawer_icon)
- [`drawer_icon_template`](#function-drawer_icon_template)
- [`set_drawer_icon_template`](#function-set_drawer_icon_template)
- [`drawer_template`](#function-drawer_template)
- [`set_drawer_template`](#function-set_drawer_template)
- [`content_template`](#function-content_template)
- [`set_content_template`](#function-set_content_template)
- [`drawer_background`](#function-drawer_background)
- [`set_drawer_background`](#function-set_drawer_background)
- [`drawer_header_background`](#function-drawer_header_background)
- [`set_drawer_header_background`](#function-set_drawer_header_background)
- [`drawer_header_foreground`](#function-drawer_header_foreground)
- [`set_drawer_header_foreground`](#function-set_drawer_header_foreground)
- [`drawer_footer_background`](#function-drawer_footer_background)
- [`set_drawer_footer_background`](#function-set_drawer_footer_background)
- [`drawer_footer_foreground`](#function-drawer_footer_foreground)
- [`set_drawer_footer_foreground`](#function-set_drawer_footer_foreground)
- [`backdrop_brush`](#function-backdrop_brush)
- [`set_backdrop_brush`](#function-set_backdrop_brush)
- [`horizontal_content_alignment`](#function-horizontal_content_alignment)
- [`set_horizontal_content_alignment`](#function-set_horizontal_content_alignment)
- [`vertical_content_alignment`](#function-vertical_content_alignment)
- [`set_vertical_content_alignment`](#function-set_vertical_content_alignment)
- [`display_mode`](#function-display_mode)
- [`set_display_mode`](#function-set_display_mode)

<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/drawer_page.rs#L69)

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

### to_ref

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

Returns a strong reference to this object.

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

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

### drawer_property

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

Defines the `Drawer` property.

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

<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/drawer_page.rs#L418)

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

### is_open_property

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

Defines the `IsOpen` property.

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

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

### drawer_length_property

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

Defines the `DrawerLength` property.

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

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

### compact_drawer_length_property

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

Defines the `CompactDrawerLength` property.

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

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

### drawer_breakpoint_length_property

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

Defines the `DrawerBreakpointLength` property.

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

<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/drawer_page.rs#L418)

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

### drawer_behavior_property

```rust
fn drawer_behavior_property() -> &'static StyledProperty<DrawerBehavior>
```

Defines the `DrawerBehavior` property.

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

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

### drawer_layout_behavior_property

```rust
fn drawer_layout_behavior_property() -> &'static StyledProperty<DrawerLayoutBehavior>
```

Defines the `DrawerLayoutBehavior` property.

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

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

### drawer_placement_property

```rust
fn drawer_placement_property() -> &'static StyledProperty<DrawerPlacement>
```

Defines the `DrawerPlacement` property.

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

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

### drawer_header_property

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

Defines the `DrawerHeader` property.

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

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

### drawer_footer_property

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

Defines the `DrawerFooter` property.

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

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

### drawer_header_template_property

```rust
fn drawer_header_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
```

Defines the `DrawerHeaderTemplate` property.

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

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

### drawer_footer_template_property

```rust
fn drawer_footer_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
```

Defines the `DrawerFooterTemplate` property.

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

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

### drawer_icon_property

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

Defines the `DrawerIcon` property.

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

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

### drawer_icon_template_property

```rust
fn drawer_icon_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
```

Defines the `DrawerIconTemplate` property.

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

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

### drawer_template_property

```rust
fn drawer_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
```

Defines the `DrawerTemplate` property.

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

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

### content_template_property

```rust
fn content_template_property() -> &'static StyledProperty<Option<Rc<dyn IDataTemplate>>>
```

Defines the `ContentTemplate` property.

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

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

### drawer_background_property

```rust
fn drawer_background_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```

Defines the `DrawerBackground` property.

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

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

### drawer_header_background_property

```rust
fn drawer_header_background_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```

Defines the `DrawerHeaderBackground` property.

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

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

### drawer_header_foreground_property

```rust
fn drawer_header_foreground_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```

Defines the `DrawerHeaderForeground` property.

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

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

### drawer_footer_background_property

```rust
fn drawer_footer_background_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```

Defines the `DrawerFooterBackground` property.

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

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

### drawer_footer_foreground_property

```rust
fn drawer_footer_foreground_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```

Defines the `DrawerFooterForeground` property.

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

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

### backdrop_brush_property

```rust
fn backdrop_brush_property() -> &'static StyledProperty<Option<Rc<dyn IBrush>>>
```

Defines the `BackdropBrush` property.

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

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

### horizontal_content_alignment_property

```rust
fn horizontal_content_alignment_property() -> &'static StyledProperty<HorizontalAlignment>
```

Defines the `HorizontalContentAlignment` property.

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

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

### vertical_content_alignment_property

```rust
fn vertical_content_alignment_property() -> &'static StyledProperty<VerticalAlignment>
```

Defines the `VerticalContentAlignment` property.

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

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

### display_mode_property

```rust
fn display_mode_property() -> &'static StyledProperty<SplitViewDisplayMode>
```

Defines the `DisplayMode` property.

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

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

### opened_event

```rust
fn opened_event() -> &'static RoutedEvent<RoutedEventArgs>
```

Defines the `Opened` routed event.

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

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

### closing_event

```rust
fn closing_event() -> &'static RoutedEvent<DrawerClosingEventArgs>
```

Defines the `Closing` routed event.

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

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

### closed_event

```rust
fn closed_event() -> &'static RoutedEvent<RoutedEventArgs>
```

Defines the `Closed` routed event.

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

<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/drawer_page.rs#L618)

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

### new

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

Initializes a new instance of the `DrawerPage` class.

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

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

### opened

```rust
fn opened(self: &Self, handler: impl Fn(&Interactive, &RoutedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when `IsOpen` changes to true.

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

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

### closing

```rust
fn closing(self: &Self, handler: impl Fn(&Interactive, &DrawerClosingEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the drawer is about to close.

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

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

### closed

```rust
fn closed(self: &Self, handler: impl Fn(&Interactive, &RoutedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when `IsOpen` changes to false and closing is not cancelled.

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

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

### drawer

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

Gets or sets the drawer pane content.

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

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

### set_drawer

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



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

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

### content

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

Gets or sets the main content.

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

<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/drawer_page.rs#L723)

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

### is_open

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

Gets or sets whether the drawer pane is currently open.

Setting this property to true while the drawer behavior is
`DrawerBehavior::Disabled` is a no-op; the value is coerced back
to false. When closing programmatically, the `Closing` event is
raised and can be cancelled; if cancelled, the property reverts to
true. The `Closing` event is not raised when the drawer is forced
closed because the drawer behavior is set to
`DrawerBehavior::Disabled`.

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

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

### set_is_open

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



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

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

### drawer_length

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

Gets or sets the width of the drawer pane.

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

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

### set_drawer_length

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



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

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

### compact_drawer_length

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

Gets or sets the compact drawer width.

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

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

### set_compact_drawer_length

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



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

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

### drawer_breakpoint_length

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

Gets or sets the size threshold for switching to overlay mode. Set
to 0 to disable.

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

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

### set_drawer_breakpoint_length

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



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

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

### is_gesture_enabled

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

Gets or sets whether swipe gestures can open or close the drawer.

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

<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/drawer_page.rs#L777)

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

### drawer_behavior

```rust
fn drawer_behavior(self: &Self) -> DrawerBehavior
```

Gets or sets the open/close behavior of the drawer pane.

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

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

### set_drawer_behavior

```rust
fn set_drawer_behavior(self: &Self, value: DrawerBehavior)
```



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

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

### drawer_layout_behavior

```rust
fn drawer_layout_behavior(self: &Self) -> DrawerLayoutBehavior
```

Gets or sets the layout behavior of the drawer.

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

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

### set_drawer_layout_behavior

```rust
fn set_drawer_layout_behavior(self: &Self, value: DrawerLayoutBehavior)
```



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

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

### drawer_placement

```rust
fn drawer_placement(self: &Self) -> DrawerPlacement
```

Gets or sets which edge of the control the drawer appears from.

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

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

### set_drawer_placement

```rust
fn set_drawer_placement(self: &Self, value: DrawerPlacement)
```



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

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

### drawer_header

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

Gets or sets the header content displayed at the top of the drawer
pane.

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

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

### set_drawer_header

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



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

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

### drawer_footer

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

Gets or sets the footer content displayed at the bottom of the
drawer pane.

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

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

### set_drawer_footer

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



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

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

### drawer_header_template

```rust
fn drawer_header_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
```

Gets or sets the data template used to display the drawer header.

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

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

### set_drawer_header_template

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



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

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

### drawer_footer_template

```rust
fn drawer_footer_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
```

Gets or sets the data template used to display the drawer footer.

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

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

### set_drawer_footer_template

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



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

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

### drawer_icon

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

Gets or sets the icon displayed in the drawer toggle button.

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

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

### set_drawer_icon

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



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

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

### drawer_icon_template

```rust
fn drawer_icon_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
```

Gets or sets the data template used to display the drawer icon.

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

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

### set_drawer_icon_template

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



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

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

### drawer_template

```rust
fn drawer_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
```

Gets or sets the data template used to display the drawer content.

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

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

### set_drawer_template

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



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

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

### content_template

```rust
fn content_template(self: &Self) -> Option<Rc<dyn IDataTemplate>>
```

Gets or sets the data template used to display the content.

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

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

### set_content_template

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



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

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

### drawer_background

```rust
fn drawer_background(self: &Self) -> Option<Rc<dyn IBrush>>
```

Gets or sets the background brush of the drawer pane.

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

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

### set_drawer_background

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



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

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

### drawer_header_background

```rust
fn drawer_header_background(self: &Self) -> Option<Rc<dyn IBrush>>
```

Gets or sets the background brush of the drawer header area.

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

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

### set_drawer_header_background

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



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

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

### drawer_header_foreground

```rust
fn drawer_header_foreground(self: &Self) -> Option<Rc<dyn IBrush>>
```

Gets or sets the foreground brush of the drawer header area.

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

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

### set_drawer_header_foreground

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



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

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

### drawer_footer_background

```rust
fn drawer_footer_background(self: &Self) -> Option<Rc<dyn IBrush>>
```

Gets or sets the background brush of the drawer footer area.

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

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

### set_drawer_footer_background

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



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

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

### drawer_footer_foreground

```rust
fn drawer_footer_foreground(self: &Self) -> Option<Rc<dyn IBrush>>
```

Gets or sets the foreground brush of the drawer footer area.

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

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

### set_drawer_footer_foreground

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



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

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

### backdrop_brush

```rust
fn backdrop_brush(self: &Self) -> Option<Rc<dyn IBrush>>
```

Gets or sets the backdrop brush for overlay mode.

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

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

### set_backdrop_brush

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



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

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

### horizontal_content_alignment

```rust
fn horizontal_content_alignment(self: &Self) -> HorizontalAlignment
```

Gets or sets the horizontal alignment of the detail content.

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

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

### set_horizontal_content_alignment

```rust
fn set_horizontal_content_alignment(self: &Self, value: HorizontalAlignment)
```



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

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

### vertical_content_alignment

```rust
fn vertical_content_alignment(self: &Self) -> VerticalAlignment
```

Gets or sets the vertical alignment of the detail content.

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

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

### set_vertical_content_alignment

```rust
fn set_vertical_content_alignment(self: &Self, value: VerticalAlignment)
```



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

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

### display_mode

```rust
fn display_mode(self: &Self) -> SplitViewDisplayMode
```

Gets or sets the display mode of the split view.

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

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

### set_display_mode

```rust
fn set_display_mode(self: &Self, value: SplitViewDisplayMode)
```



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

## 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/)
- `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<DrawerPage>`](/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/)
- [`LayoutableImpl`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimpl/)
- [`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/)
- [`InputElementImpl`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimpl/)
- [`ControlImpl`](/docs/0.5.0/api/ferroui-controls/trait-controlimpl/)
- [`TemplatedControlImpl`](/docs/0.5.0/api/ferroui-controls/primitives/trait-templatedcontrolimpl/)
- [`PageImpl`](/docs/0.5.0/api/ferroui-controls/page/trait-pageimpl/)

## Availability

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