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

UIKitCommandBinders Class

Summary

UI Kit command binder platform registrations.
Namespace
ReactiveUI
Interfaces
Base Types
graph BT Type-->Base0["FlexibleCommandBinder"] click Base0 "/api/ReactiveUI/FlexibleCommandBinder" Base0-->Base1["object"] Type-.->Interface0["ICreatesCommandBinding"] click Interface0 "/api/ReactiveUI/ICreatesCommandBinding" Type["UIKitCommandBinders"] class Type type-node

Syntax

public class UIKitCommandBinders : FlexibleCommandBinder, ICreatesCommandBinding

Constructors

Name Summary
UIKitCommandBinders() Initializes a new instance of the UIKitCommandBinders class.
UIKitCommandBinders() Initializes a new instance of the UIKitCommandBinders class.

Properties

Name Value Summary
Instance Lazy<UIKitCommandBinders>
Gets the UIKitCommandBinders instance.
static
Instance Lazy<UIKitCommandBinders>
Gets the UIKitCommandBinders instance.
static

Methods

Name Value Summary
BindCommandToObject(ICommand?, object?, IObservable<object?>) IDisposable?
Bind an ICommand to a UI object, in the "default" way. The meaning of this is dependent on the implementation. Implement this if you have a new type of UI control that doesn't have Command/CommandParameter like WPF or has a non-standard event name for "Invoke".
Inherited from FlexibleCommandBinder
BindCommandToObject(ICommand?, object?, IObservable<object?>) IDisposable?
Inherited from FlexibleCommandBinder
BindCommandToObject<TEventArgs>(ICommand?, object?, IObservable<object?>, string) IDisposable?
Bind an ICommand to a UI object to a specific event. This event may be a standard .NET event, or it could be an event derived in another manner (i.e. in MonoTouch).
Inherited from FlexibleCommandBinder
BindCommandToObject<TEventArgs>(ICommand?, object?, IObservable<object?>, string) IDisposable
Inherited from FlexibleCommandBinder
ForEvent(ICommand?, object?, IObservable<object?>, string, PropertyInfo) IDisposable
Creates a commands binding from event and a property.
Inherited from FlexibleCommandBinder
static
ForEvent(ICommand?, object?, IObservable<object?>, string, PropertyInfo) IDisposable
Creates a commands binding from event and a property.
Inherited from FlexibleCommandBinder
static
ForTargetAction(ICommand?, object?, IObservable<object?>, PropertyInfo) IDisposable
Creates a commands binding from event and a property.
Inherited from FlexibleCommandBinder
static
GetAffinityForObject(Type, bool) int
Returns a positive integer when this class supports BindCommandToObject for this particular Type. If the method isn't supported at all, return a non-positive integer. When multiple implementations return a positive value, the host will use the one which returns the highest value. When in doubt, return '2' or '0'.
Inherited from FlexibleCommandBinder
GetAffinityForObject(Type, bool) int
Inherited from FlexibleCommandBinder
Register(Type, int, Func<ICommand?, object?, IObservable<object?>, IDisposable>) void
Registers an observable factory for the specified type and property.
Inherited from FlexibleCommandBinder
Register(Type, int, Func<ICommand?, object?, IObservable<object?>, IDisposable>) void
Registers an observable factory for the specified type and property.
Inherited from FlexibleCommandBinder

Extension Methods

Name Value Summary
BindCommand<UIKitCommandBinders, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<UIKitCommandBinders, TControl>>, Expression<Func<TViewModel, TParam?>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<UIKitCommandBinders, TViewModel, TProp, TControl, TParam>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<UIKitCommandBinders, TControl>>, IObservable<TParam?>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindCommand<UIKitCommandBinders, TViewModel, TProp, TControl>(TViewModel?, Expression<Func<TViewModel, TProp?>>, Expression<Func<UIKitCommandBinders, TControl>>, string?) IReactiveBinding<TView, TProp>
Bind a command from the ViewModel to an explicitly specified control on the View.
BindValidation<UIKitCommandBinders, TViewModel, TViewModelProperty, TViewProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty>>, Expression<Func<UIKitCommandBinders, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the specified ViewModel property validation to the View property.
BindValidation<UIKitCommandBinders, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<UIKitCommandBinders, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<UIKitCommandBinders, TViewModel, TViewProperty>(TViewModel?, Expression<Func<UIKitCommandBinders, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds the overall validation of a ViewModel to a specified View property.
BindValidation<UIKitCommandBinders, TViewModel, TViewProperty>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, Expression<Func<UIKitCommandBinders, TViewProperty>>, IValidationTextFormatter<string>?) IDisposable
Binds a ValidationHelper from a ViewModel to a specified View property.
BindValidation<UIKitCommandBinders, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidation<UIKitCommandBinders, TViewModel>(TViewModel?, Expression<Func<TViewModel?, ValidationHelper?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<UIKitCommandBinders, TViewModel, TViewModelProperty>(TViewModel?, Expression<Func<TViewModel, TViewModelProperty?>>, TextInputLayout, IValidationTextFormatter<string>?) IDisposable
Platform binding to the TextInputLayout.
BindValidationEx<UIKitCommandBinders, 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.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Expression<Func<UIKitCommandBinders, IObservable<T6>?>>, Expression<Func<UIKitCommandBinders, IObservable<T7>?>>, Expression<Func<UIKitCommandBinders, IObservable<T8>?>>, Expression<Func<UIKitCommandBinders, IObservable<T9>?>>, Expression<Func<UIKitCommandBinders, IObservable<T10>?>>, Expression<Func<UIKitCommandBinders, IObservable<T11>?>>, Expression<Func<UIKitCommandBinders, IObservable<T12>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, T12?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Expression<Func<UIKitCommandBinders, IObservable<T6>?>>, Expression<Func<UIKitCommandBinders, IObservable<T7>?>>, Expression<Func<UIKitCommandBinders, IObservable<T8>?>>, Expression<Func<UIKitCommandBinders, IObservable<T9>?>>, Expression<Func<UIKitCommandBinders, IObservable<T10>?>>, Expression<Func<UIKitCommandBinders, IObservable<T11>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, T11?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Expression<Func<UIKitCommandBinders, IObservable<T6>?>>, Expression<Func<UIKitCommandBinders, IObservable<T7>?>>, Expression<Func<UIKitCommandBinders, IObservable<T8>?>>, Expression<Func<UIKitCommandBinders, IObservable<T9>?>>, Expression<Func<UIKitCommandBinders, IObservable<T10>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, T10?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5, T6, T7, T8, T9>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Expression<Func<UIKitCommandBinders, IObservable<T6>?>>, Expression<Func<UIKitCommandBinders, IObservable<T7>?>>, Expression<Func<UIKitCommandBinders, IObservable<T8>?>>, Expression<Func<UIKitCommandBinders, IObservable<T9>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, T9?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5, T6, T7, T8>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Expression<Func<UIKitCommandBinders, IObservable<T6>?>>, Expression<Func<UIKitCommandBinders, IObservable<T7>?>>, Expression<Func<UIKitCommandBinders, IObservable<T8>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, T8?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5, T6, T7>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Expression<Func<UIKitCommandBinders, IObservable<T6>?>>, Expression<Func<UIKitCommandBinders, IObservable<T7>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, T7?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5, T6>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Expression<Func<UIKitCommandBinders, IObservable<T6>?>>, Func<T1?, T2?, T3?, T4?, T5?, T6?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4, T5>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Expression<Func<UIKitCommandBinders, IObservable<T5>?>>, Func<T1?, T2?, T3?, T4?, T5?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3, T4>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Expression<Func<UIKitCommandBinders, IObservable<T4>?>>, Func<T1?, T2?, T3?, T4?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2, T3>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Expression<Func<UIKitCommandBinders, IObservable<T3>?>>, Func<T1?, T2?, T3?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet, T1, T2>(Expression<Func<UIKitCommandBinders, IObservable<T1>?>>, Expression<Func<UIKitCommandBinders, IObservable<T2>?>>, Func<T1?, T2?, TRet>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Observe a observable which is set to a property, and automatically subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
WhenAnyObservable<UIKitCommandBinders, TRet>(Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>, Expression<Func<UIKitCommandBinders, IObservable<TRet>?>>) IObservable<TRet>
Monitor a property that is an observable, and subscribe to the most recent emitted value.
With<UIKitCommandBinders, TKey, TField>(Dictionary<TKey, TField>, IDictionary<TKey, TField>) TBuilder
Adds the specified dictionary to the provided dictionary.

See Also