# INotifyPropertyChanging

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/component_model/trait-inotifypropertychanging/

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

```rust
trait INotifyPropertyChanging
```

Notifies clients that a property value of a model object is changing
(`System.ComponentModel.INotifyPropertyChanging`).

The event argument is the name of the property that is about to change;
an empty name means that all properties of the object are changing. The
event is raised before the new value is stored, so a handler reads the
old value.

An object that raises both events also overrides
`INotifyPropertyChanged::as_notify_property_changing`,
which is how an observer that holds the object as `INotifyPropertyChanged`
finds this event without reflection.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/component_model/i_notify_property_changing.rs#L15)

## Members

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

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

### property_changing

```rust
fn property_changing(self: &Self) -> &Event<str>
```

The event raised when a property value is about to change.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/component_model/i_notify_property_changing.rs#L17)

## Availability

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