# IViewColumn

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-controls-treedatagrid/models/trait-iviewcolumn/

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

```rust
trait IViewColumn<M: TreeModel>: IColumn + IUpdateColumnLayout + ICellColumn + core_models::IColumnOf<M>
```

A view column of models of `M` (`IColumn<TModel>` of the control): a view column that lays
itself out and creates its cells, and a core column of models of `M`.

The view and the core contracts name some members alike (`header`, `width`, `sort_direction`,
`tag`, `as_any`); a caller names the contract it means (`IColumn::header(&*column)`).

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

## Trait implementations

- [`IViewColumn<M>`](/docs/0.5.0/api/ferroui-controls-treedatagrid/models/trait-iviewcolumn/)

## Availability

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