# ExpanderColumnPresentation

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

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

```rust
struct ExpanderColumnPresentation
```

The presentation of a core expander column (`ExpanderColumnPresentation<T>`): the inner
column's cells with an expander that follows the row.

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

## Members

- [`new`](#function-new)
- [`model`](#function-model)
- [`inner`](#function-inner)
- [`dispose`](#function-dispose)

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

### new

```rust
fn new(model: Rc<dyn ferroui_treedatagrid_core::models::IColumn>, inner: ColumnRef) -> Rc<Self>
```

The presentation of the expander column `model`, showing the cells of `inner`.
## Panics
When `model` is not an expander column (`untyped_expander`).

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

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

### model

```rust
fn model(self: &Self) -> &Rc<dyn ferroui_treedatagrid_core::models::IColumn>
```

The core column presented.

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

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

### inner

```rust
fn inner(self: &Self) -> &ColumnRef
```

The presentation of the inner column.

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

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

### dispose

```rust
fn dispose(self: &Self)
```

Disposes the inner column's presentation (`Dispose`).

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

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- `ErasedDestructor`
- `IntoEither`
- [`INotifyPropertyChanged`](/docs/0.5.0/api/ferroui-base/data/model/use-inotifypropertychanged/)
- [`IColumn`](/docs/0.5.0/api/ferroui-controls-treedatagrid/models/trait-icolumn/)
- [`IUpdateColumnLayout`](/docs/0.5.0/api/ferroui-controls-treedatagrid/models/trait-iupdatecolumnlayout/)
- [`ICellColumn`](/docs/0.5.0/api/ferroui-controls-treedatagrid/models/trait-icellcolumn/)

## Availability

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