# TreeDataGridHierarchicalExpanderColumn

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-treedatagrid/struct-treedatagridhierarchicalexpandercolumn/

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

```rust
struct TreeDataGridHierarchicalExpanderColumn
```

A hierarchical expander column (`TreeDataGridHierarchicalExpanderColumn`): its inner column
with an expander whose children, whether there are any and whether the row is expanded are
selected by bindings. Its presence makes the generated source hierarchical.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L684)

## Members

- [`new`](#function-new)
- [`children_binding`](#function-children_binding)
- [`set_children_binding`](#function-set_children_binding)
- [`has_children_binding`](#function-has_children_binding)
- [`set_has_children_binding`](#function-set_has_children_binding)
- [`is_expanded_binding`](#function-is_expanded_binding)
- [`set_is_expanded_binding`](#function-set_is_expanded_binding)
- [`inner_column`](#function-inner_column)
- [`set_inner_column`](#function-set_inner_column)

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

### new

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



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L696)

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

### children_binding

```rust
fn children_binding(self: &Self) -> Option<Rc<dyn BindingBase>>
```

The binding of the children of a model (`[AssignBinding] ChildrenBinding`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L701)

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

### set_children_binding

```rust
fn set_children_binding(self: &Self, value: Option<Rc<dyn BindingBase>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L705)

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

### has_children_binding

```rust
fn has_children_binding(self: &Self) -> Option<Rc<dyn BindingBase>>
```

The binding of whether a model has children (`[AssignBinding] HasChildrenBinding`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L710)

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

### set_has_children_binding

```rust
fn set_has_children_binding(self: &Self, value: Option<Rc<dyn BindingBase>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L714)

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

### is_expanded_binding

```rust
fn is_expanded_binding(self: &Self) -> Option<Rc<dyn BindingBase>>
```

The binding of whether a model's row is expanded (`[AssignBinding] IsExpandedBinding`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L719)

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

### set_is_expanded_binding

```rust
fn set_is_expanded_binding(self: &Self, value: Option<Rc<dyn BindingBase>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L723)

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

### inner_column

```rust
fn inner_column(self: &Self) -> Option<Rc<dyn TreeDataGridColumn>>
```

The column the expander shows (`[Content] InnerColumn`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L728)

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

### set_inner_column

```rust
fn set_inner_column(self: &Self, value: Option<Rc<dyn TreeDataGridColumn>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/TreeDataGrid/FerroUI.Controls.TreeDataGrid/tree_data_grid_column.rs#L732)

## 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`
- [`AnyValue`](/docs/0.5.0/api/ferroui-base/trait-anyvalue/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`TreeModel`](/docs/0.5.0/api/ferroui-treedatagrid-core/accessor/trait-treemodel/)
- [`MarkupTyped`](/docs/0.5.0/api/ferroui-base/metadata/trait-markuptyped/)
- `Default`
- `PartialEq`
- `Deref`
- [`TreeDataGridColumn`](/docs/0.5.0/api/ferroui-controls-treedatagrid/trait-treedatagridcolumn/)

## Availability

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