# TitleBarProps

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

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

```rust
trait TitleBarProps: ElementBuilder
```

The properties and routed events of `TitleBar`.

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

## Members

- [`title`](#function-title)
- [`subtitle`](#function-subtitle)
- [`icon_source`](#function-icon_source)
- [`left_header`](#function-left_header)
- [`content`](#function-content)
- [`right_header`](#function-right_header)
- [`is_back_button_visible`](#function-is_back_button_visible)
- [`is_back_button_enabled`](#function-is_back_button_enabled)
- [`is_pane_toggle_button_visible`](#function-is_pane_toggle_button_visible)
- [`auto_refresh_drag_regions`](#function-auto_refresh_drag_regions)
- [`is_drag_region`](#function-is_drag_region)

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

### title

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

Sets `TitleBar::title_property`.

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

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

### subtitle

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

Sets `TitleBar::subtitle_property`.

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

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

### icon_source

```rust
fn icon_source<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::IconSource>>, M>) -> Self
```

Sets `TitleBar::icon_source_property`.

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

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

### left_header

```rust
fn left_header<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self
```

Sets `TitleBar::left_header_property`.

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

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

### content

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

Sets `TitleBar::content_property`.

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

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

### right_header

```rust
fn right_header<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_controls::Control>>, M>) -> Self
```

Sets `TitleBar::right_header_property`.

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

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

### is_back_button_visible

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

Sets `TitleBar::is_back_button_visible_property`.

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

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

### is_back_button_enabled

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

Sets `TitleBar::is_back_button_enabled_property`.

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

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

### is_pane_toggle_button_visible

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

Sets `TitleBar::is_pane_toggle_button_visible_property`.

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

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

### auto_refresh_drag_regions

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

Sets `TitleBar::auto_refresh_drag_regions_property`.

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

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

### is_drag_region

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

Sets `TitleBar::is_drag_region_property`.

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

## Trait implementations

- [`TitleBarProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-titlebarprops/)

## Availability

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