# WindowDrawnDecorationsProps

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

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

```rust
trait WindowDrawnDecorationsProps: ElementBuilder
```

The properties and routed events of `WindowDrawnDecorations`.

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

## Members

- [`template`](#function-template)
- [`default_title_bar_height`](#function-default_title_bar_height)
- [`default_frame_thickness`](#function-default_frame_thickness)
- [`default_shadow_thickness`](#function-default_shadow_thickness)
- [`title`](#function-title)
- [`title_bar_decorations`](#function-title_bar_decorations)

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

### template

```rust
fn template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::chrome::IWindowDrawnDecorationsTemplate>>, M>) -> Self
```

Sets `WindowDrawnDecorations::template_property`.

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

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

### default_title_bar_height

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

Sets `WindowDrawnDecorations::default_title_bar_height_property`.

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

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

### default_frame_thickness

```rust
fn default_frame_thickness<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
```

Sets `WindowDrawnDecorations::default_frame_thickness_property`.

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

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

### default_shadow_thickness

```rust
fn default_shadow_thickness<M>(self: Self, value: impl IntoProp<ferroui_base::Thickness, M>) -> Self
```

Sets `WindowDrawnDecorations::default_shadow_thickness_property`.

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

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

### title

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

Sets `WindowDrawnDecorations::title_property`.

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

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

### title_bar_decorations

```rust
fn title_bar_decorations<M>(self: Self, value: impl IntoProp<ferroui_controls::chrome::TitleBarDecorations, M>) -> Self
```

Sets `WindowDrawnDecorations::title_bar_decorations_property`.

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

## Trait implementations

- [`WindowDrawnDecorationsProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-windowdrawndecorationsprops/)

## Availability

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