# TabControlProps

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

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

```rust
trait TabControlProps: ElementBuilder
```

The properties and routed events of `TabControl`.

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

## Members

- [`tab_strip_placement`](#function-tab_strip_placement)
- [`horizontal_content_alignment`](#function-horizontal_content_alignment)
- [`vertical_content_alignment`](#function-vertical_content_alignment)
- [`content_template`](#function-content_template)
- [`page_transition`](#function-page_transition)
- [`indicator_template`](#function-indicator_template)

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

### tab_strip_placement

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

Sets `TabControl::tab_strip_placement_property`.

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

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

### horizontal_content_alignment

```rust
fn horizontal_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::HorizontalAlignment, M>) -> Self
```

Sets `TabControl::horizontal_content_alignment_property`.

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

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

### vertical_content_alignment

```rust
fn vertical_content_alignment<M>(self: Self, value: impl IntoProp<ferroui_base::layout::VerticalAlignment, M>) -> Self
```

Sets `TabControl::vertical_content_alignment_property`.

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

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

### content_template

```rust
fn content_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
```

Sets `TabControl::content_template_property`.

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

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

### page_transition

```rust
fn page_transition<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_base::animation::IPageTransition>>, M>) -> Self
```

Sets `TabControl::page_transition_property`.

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

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

### indicator_template

```rust
fn indicator_template<M>(self: Self, value: impl IntoProp<Option<std::rc::Rc<dyn ferroui_controls::templates::IDataTemplate>>, M>) -> Self
```

Sets `TabControl::indicator_template_property`.

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

## Trait implementations

- [`TabControlProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-tabcontrolprops/)

## Availability

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