PropertyBindingMixins Class

Summary

This class provides extension methods for the ReactiveUI view binding mechanism.
Namespace
ReactiveUI
Base Types
  • object
graph BT Type-->Base0["object"] Type["PropertyBindingMixins"] class Type type-node

Syntax

public static class PropertyBindingMixins

Methods

Name Value Summary
Bind<TViewModel, TView, TVMProp, TVProp, TDontCare>(TView, TViewModel, Expression<Func<TViewModel, TVMProp>>, Expression<Func<TView, TVProp>>, IObservable<TDontCare>, Func<TVMProp, TVProp>, Func<TVProp, TVMProp>) IReactiveBinding<TView, TViewModel, Tuple<object, bool>>
Binds the specified view model property to the given view property.
static
Bind<TViewModel, TView, TVMProp, TVProp, TDontCare>(TView, TViewModel, Expression<Func<TViewModel, TVMProp>>, Expression<Func<TView, TVProp>>, IObservable<TDontCare>, object, IBindingTypeConverter, IBindingTypeConverter) IReactiveBinding<TView, TViewModel, Tuple<object, bool>>
Binds the specified view model property to the given view property, and provide a custom view update signaller to signal when the view property has been updated.
static
Bind<TViewModel, TView, TVMProp, TVProp>(TView, TViewModel, Expression<Func<TViewModel, TVMProp>>, Expression<Func<TView, TVProp>>, Func<TVMProp, TVProp>, Func<TVProp, TVMProp>) IReactiveBinding<TView, TViewModel, Tuple<object, bool>>
Binds the specified view model property to the given view property.
static
Bind<TViewModel, TView, TVMProp, TVProp>(TView, TViewModel, Expression<Func<TViewModel, TVMProp>>, Expression<Func<TView, TVProp>>, object, IBindingTypeConverter, IBindingTypeConverter) IReactiveBinding<TView, TViewModel, Tuple<object, bool>>
Binds the specified view model property to the given view property.
static
BindTo<TValue, TTarget, TTValue>(IObservable<TValue>, TTarget, Expression<Func<TTarget, TTValue>>, object, IBindingTypeConverter) IDisposable
BindTo takes an Observable stream and applies it to a target property. Conceptually it is similar to Subscribe(x => target.property = x), but allows you to use child properties without the null checks.
static
OneWayBind<TViewModel, TView, TProp, TOut>(TView, TViewModel, Expression<Func<TViewModel, TProp>>, Expression<Func<TView, TOut>>, Func<TProp, TOut>) IReactiveBinding<TView, TViewModel, TOut>
Binds the specified view model property to the given view, in a one-way (view model to view) fashion, with the value of the view model property mapped through a selector function.
static
OneWayBind<TViewModel, TView, TVMProp, TVProp>(TView, TViewModel, Expression<Func<TViewModel, TVMProp>>, Expression<Func<TView, TVProp>>, object, IBindingTypeConverter) IReactiveBinding<TView, TViewModel, TVProp>
Binds the given property on the view model to a given property on the view in a one-way (view model to view) fashion.
static