# model_notifier

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

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

```rust
fn model_notifier<M: TreeModel>(model: &std::rc::Rc<M>) -> Option<&dyn INotifyPropertyChanged>
```

The notification interface of a model (`model as INotifyPropertyChanged`). A model that is
itself an untyped value (the models of the declarative columns, whose model type is
`BoxedValue`) is looked up by the value it holds.

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

## Availability

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