# INotifyCollectionChanged

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/collections/specialized/trait-inotifycollectionchanged/

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

```rust
trait INotifyCollectionChanged
```

Notifies clients of changes to a collection, such as when items are added
and removed or the whole collection is reset.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/collections/specialized/i_notify_collection_changed.rs#L22)

## Members

- [`collection_changed`](#function-collection_changed)

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

### collection_changed

```rust
fn collection_changed(self: &Self) -> &Event<CollectionChange>
```

The event raised when the collection changes.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/collections/specialized/i_notify_collection_changed.rs#L24)

## Trait implementations

- [`INotifyCollectionChanged`](/docs/0.5.0/api/ferroui-base/data/model/use-inotifycollectionchanged/)

## Availability

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