# ItemsControlProps

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

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

```rust
trait ItemsControlProps: ElementBuilder
```

The properties and routed events of `ItemsControl`.

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

## Members

- [`item_container_theme`](#function-item_container_theme)
- [`items_panel`](#function-items_panel)
- [`items_source`](#function-items_source)
- [`item_template`](#function-item_template)

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

### item_container_theme

```rust
fn item_container_theme<M>(self: Self, value: impl IntoProp<Option<ferroui_base::Ref<ferroui_base::styling::ControlTheme>>, M>) -> Self
```

Sets `ItemsControl::item_container_theme_property`.

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

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

### items_panel

```rust
fn items_panel<M>(self: Self, value: impl IntoProp<std::rc::Rc<dyn ferroui_controls::ITemplateOf<Option<ferroui_base::Ref<ferroui_controls::Panel>>>>, M>) -> Self
```

Sets `ItemsControl::items_panel_property`.

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

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

### items_source

```rust
fn items_source<M>(self: Self, value: impl IntoProp<Option<ferroui_controls::ItemsSource>, M>) -> Self
```

Sets `ItemsControl::items_source_property`.

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

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

### item_template

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

Sets `ItemsControl::item_template_property`.

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

## Trait implementations

- [`ItemsControlProps`](/docs/0.5.0/api/ferroui-view/generated/builders/trait-itemscontrolprops/)

## Availability

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