# DockPanelProps

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

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

```rust
trait DockPanelProps: ElementBuilder
```

The properties and routed events of `DockPanel`.

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

## Members

- [`dock`](#function-dock)
- [`last_child_fill`](#function-last_child_fill)
- [`horizontal_spacing`](#function-horizontal_spacing)
- [`vertical_spacing`](#function-vertical_spacing)

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

### dock

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

Sets `DockPanel::dock_property`.

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

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

### last_child_fill

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

Sets `DockPanel::last_child_fill_property`.

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

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

### horizontal_spacing

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

Sets `DockPanel::horizontal_spacing_property`.

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

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

### vertical_spacing

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

Sets `DockPanel::vertical_spacing_property`.

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

## Trait implementations

- [`DockPanelProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-dockpanelprops/)

## Availability

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