# ITreeDataTemplate

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls/templates/trait-itreedatatemplate/

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

```rust
trait ITreeDataTemplate: IDataTemplate
```

Interface representing a template used to build hierarchical data.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/templates/i_tree_data_template.rs#L7)

## Members

- [`bind_children`](#function-bind_children)

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

### bind_children

```rust
fn bind_children(self: &Self, target: &FerroObject, target_property: &'static FerroProperty, item: &BoxedValue) -> Rc<dyn IDisposable>
```

Binds the children of the specified item to a property on a target
object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Controls/templates/i_tree_data_template.rs#L10)

## Trait implementations

- [`ITreeDataTemplate`](/docs/0.5.0/api/ferroui-controls/templates/trait-itreedatatemplate/)

## Availability

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