INotifyPropertyChanged
trait · ferroui-system · v0.5.0
trait INotifyPropertyChanged
Notifies clients that a property value of a model object (an object that is not part of the class hierarchy, such as a view model) has changed.
The event argument is the name of the property that changed; an empty name means that all properties of the object changed.
Members
property_changed
fn property_changed(self: &Self) -> &Event<str>
The event raised when a property value changes.
as_notify_property_changing
fn as_notify_property_changing(self: &Self) -> Option<&dyn INotifyPropertyChanging>
The object as INotifyPropertyChanging, when it also raises the event of a property
that is about to change; None by default.
An observer that holds the object as INotifyPropertyChanged uses this to find the
changing event, where .NET casts the object to the other interface.
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.