# IReactiveNotifyPropertyChanged

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/interfaces/trait-ireactivenotifypropertychanged/

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

```rust
trait IReactiveNotifyPropertyChanged<S>
```

An object whose property changes are observables as well as events
(`IReactiveNotifyPropertyChanged<TSender>`).

Every reactive object implements it through its shared handle: for `vm: Rc<T>` with
`T: IReactiveObject`, `vm.changing()` and `vm.changed()` are observables whose arguments carry
`vm` as the sender. The trait is also exported as
`ReactiveObjectRcExt`.

Deviation (DEVIATIONS.md, ReactiveUI): the arguments are the concrete
[`ReactivePropertyChangedEventArgs`](/docs/0.5.0/api/ferroui-reactiveui/interfaces/struct-reactivepropertychangedeventargs/) rather than the interface; the sender is the shared handle
of the object.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/interfaces/i_reactive_notify_property_changed.rs#L18)

## Members

- [`changing`](#function-changing)
- [`changed`](#function-changed)
- [`suppress_change_notifications`](#function-suppress_change_notifications)

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

### changing

```rust
fn changing(self: &Self) -> Rc<dyn IObservable<ReactivePropertyChangedEventArgs<S>>>
```

Fires when a property is about to change, before its value is stored (`Changing`). The
notifications follow the suppression and the delay of the object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/interfaces/i_reactive_notify_property_changed.rs#L21)

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

### changed

```rust
fn changed(self: &Self) -> Rc<dyn IObservable<ReactivePropertyChangedEventArgs<S>>>
```

Fires when a property has changed (`Changed`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/interfaces/i_reactive_notify_property_changed.rs#L24)

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

### suppress_change_notifications

```rust
fn suppress_change_notifications(self: &Self) -> Rc<dyn IDisposable>
```

Stops both the events and the observables of the changes until the result is disposed
(`SuppressChangeNotifications`); the calls nest.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/interfaces/i_reactive_notify_property_changed.rs#L28)

## Trait implementations

- [`IReactiveNotifyPropertyChanged<Rc<T>>`](/docs/0.5.0/api/ferroui-reactiveui/interfaces/trait-ireactivenotifypropertychanged/)

## Availability

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