FlexibleCommandBinder.

ForTargetAction(ICommand, object, IObservable<object>, PropertyInfo) Method

Summary

Creates a commands binding from event and a property.
Namespace
ReactiveUI
Containing Type
FlexibleCommandBinder

Syntax

protected static IDisposable ForTargetAction(ICommand command, object target, IObservable<object> commandParameter, PropertyInfo enabledProperty)

Parameters

Name Type Description
command ICommand The command.
target object The target object.
commandParameter IObservable<object> The command parameter.
enabledProperty PropertyInfo The enabled property.

Return Value

Type Description
IDisposable Returns a disposable.