# NotifyPropertyChangedObservable

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/observables/struct-notifypropertychangedobservable/

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

```rust
struct NotifyPropertyChangedObservable
```

The notifications of one property of an object that raises `PropertyChanged`, or
`PropertyChanging` before a change (`NotifyPropertyChangedObservable`).

A notification of the property, or of every property (an empty name), produces one change that
carries the object and the name of the property, without a value.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/notify_property_changed_observable.rs#L44)

## Members

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

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

### new

```rust
fn new(sender: PropertyOwner, expected_name: impl Into<String>, before_changed: bool) -> Self
```

The notifications of `expected_name` on `sender`: of `PropertyChanging` when
`before_changed` is set and the object raises it, of `PropertyChanged` otherwise.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observables/notify_property_changed_observable.rs#L53)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- [`SubscribeGuard<T>`](/docs/0.5.0/api/ferroui-base/reactive/use-subscribeguard/)
- [`IObservable<ObservedChange<PropertyOwner, ()>>`](/docs/0.5.0/api/ferroui-base/reactive/use-iobservable/)

## Availability

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