The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

AbstractNotifyPropertyChanged Class

Summary

Base class for implementing notify property changes.
Namespace
DynamicData.Binding
Base Types
  • INotifyPropertyChanged
graph BT Type-->Base0["INotifyPropertyChanged"] Type["AbstractNotifyPropertyChanged"] class Type type-node

Syntax

public abstract class AbstractNotifyPropertyChanged : INotifyPropertyChanged

Events

Name Type Summary
PropertyChanged PropertyChangedEventHandler?
Occurs when a property value has changed.

Methods

Name Value Summary
OnPropertyChanged(string?) void
Invokes on property changed.
SetAndRaise<T>(T, T, IEqualityComparer<T>?, string?) void
If the value has changed, sets referenced backing field and raise notify property changed.
SetAndRaise<T>(T, T, string?) void
If the value has changed, sets referenced backing field and raise notify property changed.
SuspendNotifications(bool) IDisposable
Suspends notifications. When disposed, a reset notification is fired.

Extension Methods

Name Value Summary
BindCommand<AbstractNotifyPropertyChanged, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<AbstractNotifyPropertyChanged, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<AbstractNotifyPropertyChanged, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<AbstractNotifyPropertyChanged, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<AbstractNotifyPropertyChanged, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<AbstractNotifyPropertyChanged, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<AbstractNotifyPropertyChanged, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<AbstractNotifyPropertyChanged, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<AbstractNotifyPropertyChanged, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<AbstractNotifyPropertyChanged, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<AbstractNotifyPropertyChanged, TViewModel, TViewProperty>(TViewModel?, Expression<Func<AbstractNotifyPropertyChanged, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<AbstractNotifyPropertyChanged, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, Expression<Func<AbstractNotifyPropertyChanged, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<AbstractNotifyPropertyChanged, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<AbstractNotifyPropertyChanged, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<AbstractNotifyPropertyChanged, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<AbstractNotifyPropertyChanged, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
InvokeViewModelAction<T>(Action<T>) object
This is a thing I lifted from Prism.
With<AbstractNotifyPropertyChanged, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.