# ITreeDataGridCell

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

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

```rust
trait ITreeDataGridCell
```

A cell control that can be bound to a cell model (`ITreeDataGridCell`). Implemented by
`TreeDataGridCell`; a control is viewed as one with
`Control::cast` to `TreeDataGridCell`.

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

## Members

- [`column_index`](#function-column_index)
- [`realize`](#function-realize)
- [`unrealize`](#function-unrealize)

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

### column_index

```rust
fn column_index(self: &Self) -> i32
```



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

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

### realize

```rust
fn realize(self: &Self, factory: &Rc<TreeDataGridElementFactory>, selection: Option<&dyn ITreeDataGridSelectionInteraction>, model: &CellRef, column_index: i32, row_index: i32)
```



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

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

### unrealize

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



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

## Trait implementations

- [`ITreeDataGridCell`](/docs/0.5.0/api/ferroui-controls-treedatagrid/primitives/trait-itreedatagridcell/)

## Availability

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