# ReactiveNotifyPropertyChangedMixins

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui/binding/observable_for_property/trait-reactivenotifypropertychangedmixins/

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

```rust
trait ReactiveNotifyPropertyChangedMixins<T: 'static>
```

The observation of the properties of an object, with the options of each observation
(`ReactiveNotifyPropertyChangedMixins`); implemented for every `Rc<T>`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/reactive_notify_property_changed_mixins.rs#L68)

## Members

- [`observable_for_property`](#function-observable_for_property)
- [`observable_for_property_skip_initial`](#function-observable_for_property_skip_initial)
- [`observable_for_property_named`](#function-observable_for_property_named)
- [`subscribe_to_expression_chain`](#function-subscribe_to_expression_chain)
- [`subscribe_to_expression_chain_with`](#function-subscribe_to_expression_chain_with)

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

### observable_for_property

```rust
fn observable_for_property<V: Clone + PartialEq + 'static>(self: &Self, path: PropertyPath<Rc<T>, V>, before_change: bool, skip_initial: bool, is_distinct: bool) -> Rc<dyn IObservable<ObservedChange<Rc<T>, V>>>
```

The changes of the value at the end of `path`, before or after each change; `skip_initial`
drops the current value, `is_distinct` drops a value equal to the last one
(`ObservableForProperty(Expression<Func<TSender, TValue>>, bool, bool, bool)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/reactive_notify_property_changed_mixins.rs#L76)

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

### observable_for_property_skip_initial

```rust
fn observable_for_property_skip_initial<V: Clone + PartialEq + 'static>(self: &Self, path: PropertyPath<Rc<T>, V>, skip_initial: bool) -> Rc<dyn IObservable<ObservedChange<Rc<T>, V>>>
```

`observable_for_property` after each change, dropping
repeats (`ObservableForProperty(Expression<Func<TSender, TValue>>, bool)`, and with
`skip_initial` set, `ObservableForProperty(Expression<Func<TSender, TValue>>)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/reactive_notify_property_changed_mixins.rs#L89)

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

### observable_for_property_named

```rust
fn observable_for_property_named<V: Clone + PartialEq + 'static>(self: &Self, property_name: &str, getter: impl Fn(&Rc<T>) -> V + 'static, before_change: bool, skip_initial: bool, is_distinct: bool) -> Rc<dyn IObservable<ObservedChange<Rc<T>, V>>>
where T: INotifyPropertyChanged
```

The changes of the property `property_name`, read with `getter`
(`ObservableForProperty<TValue>(string, bool, bool, bool)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/reactive_notify_property_changed_mixins.rs#L101)

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

### subscribe_to_expression_chain

```rust
fn subscribe_to_expression_chain<V: Clone + PartialEq + 'static>(self: &Self, path: PropertyPath<Rc<T>, V>, before_change: bool, skip_initial: bool, is_distinct: bool) -> Rc<dyn IObservable<ObservedChange<Rc<T>, V>>>
```

The changes of the value at the end of `path`, step by step
(`SubscribeToExpressionChain(Expression?, bool, bool, bool)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/reactive_notify_property_changed_mixins.rs#L125)

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

### subscribe_to_expression_chain_with

```rust
fn subscribe_to_expression_chain_with<V: Clone + PartialEq + 'static>(self: &Self, path: PropertyPath<Rc<T>, V>, before_change: bool, skip_initial: bool, is_distinct: bool, suppress_warnings: bool) -> Rc<dyn IObservable<ObservedChange<Rc<T>, V>>>
```

`subscribe_to_expression_chain` that can suppress
the warning of a property that cannot notify
(`SubscribeToExpressionChain(Expression?, bool, bool, bool, bool)`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI/binding/observable_for_property/reactive_notify_property_changed_mixins.rs#L138)

## Trait implementations

- [`ReactiveNotifyPropertyChangedMixins<T>`](/docs/0.5.0/api/ferroui-reactiveui/binding/observable_for_property/trait-reactivenotifypropertychangedmixins/)

## Availability

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