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

PropertyValue<TObject, TValue> Class

Summary

Container holding sender and latest property value.
Namespace
DynamicData.Binding
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IEquatable<PropertyValue<TObject, TValue>>"] Type["PropertyValue<TObject, TValue>"] class Type type-node

Syntax

public sealed class PropertyValue<TObject, TValue> : IEquatable<PropertyValue<TObject, TValue>>

Type Parameters

Name Description
TObject The type of the object.
TValue The type of the value.

Constructors

Name Summary
PropertyValue(TObject, TValue) Initializes a new instance of the PropertyValue<TObject, TValue> class.

Properties

Name Value Summary
Sender TObject
Gets the Sender.
Value TValue?
Gets latest observed value.

Methods

Operators

Name Value Summary
operator !=(PropertyValue<TObject, TValue>?, PropertyValue<TObject, TValue>?) bool
operator ==(PropertyValue<TObject, TValue>?, PropertyValue<TObject, TValue>?) bool

Extension Methods

Name Value Summary
BindCommand<PropertyValue<TObject, TValue>, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<PropertyValue<TObject, TValue>, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<PropertyValue<TObject, TValue>, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<PropertyValue<TObject, TValue>, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<PropertyValue<TObject, TValue>, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<PropertyValue<TObject, TValue>, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<PropertyValue<TObject, TValue>, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<PropertyValue<TObject, TValue>, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<PropertyValue<TObject, TValue>, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<PropertyValue<TObject, TValue>, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<PropertyValue<TObject, TValue>, TViewModel, TViewProperty>(TViewModel?, Expression<Func<PropertyValue<TObject, TValue>, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<PropertyValue<TObject, TValue>, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, Expression<Func<PropertyValue<TObject, TValue>, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<PropertyValue<TObject, TValue>, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<PropertyValue<TObject, TValue>, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<PropertyValue<TObject, TValue>, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<PropertyValue<TObject, TValue>, 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<PropertyValue<TObject, TValue>, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.