# WindowDrawnDecorationsContent

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/chrome/struct-windowdrawndecorationscontent/

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

```rust
struct WindowDrawnDecorationsContent
```

Holds the template content for
`WindowDrawnDecorations`. Contains three
visual slots: underlay, overlay, and fullscreen popover.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L11)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`overlay`](#function-overlay)
- [`set_overlay`](#function-set_overlay)
- [`underlay`](#function-underlay)
- [`set_underlay`](#function-set_underlay)
- [`fullscreen_popover`](#function-fullscreen_popover)
- [`set_fullscreen_popover`](#function-set_fullscreen_popover)

<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/chrome/window_drawn_decorations_content.rs#L18)

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

### to_ref

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

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L18)

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

### construct

```rust
fn construct() -> Self
```

Field initialisation only.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L24)

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

### new

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L33)

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

### overlay

```rust
fn overlay(self: &Self) -> Option<Ref<Control>>
```

The overlay layer content (titlebar, caption buttons). Positioned
above the client area.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L39)

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

### set_overlay

```rust
fn set_overlay(self: &Self, value: impl Into<Nullable<Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L43)

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

### underlay

```rust
fn underlay(self: &Self) -> Option<Ref<Control>>
```

The underlay layer content (borders, background, shadow area).
Positioned below the client area.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L49)

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

### set_underlay

```rust
fn set_underlay(self: &Self, value: impl Into<Nullable<Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L53)

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

### fullscreen_popover

```rust
fn fullscreen_popover(self: &Self) -> Option<Ref<Control>>
```

The fullscreen popover content. Shown when the user hovers the
pointer at the top of the window in fullscreen mode.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L59)

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

### set_fullscreen_popover

```rust
fn set_fullscreen_popover(self: &Self, value: impl Into<Nullable<Control>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/chrome/window_drawn_decorations_content.rs#L63)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `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`
- [`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/)
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<WindowDrawnDecorationsContent>`](/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/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`StyledElementImpl`](/docs/0.5.0/api/ferroui-base/trait-styledelementimpl/)

## Availability

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