AutoDataTemplateBindingHook.

ExecuteHook(object, object, Func<IObservedChange<object, object>[]>, Func<IObservedChange<object, object>[]>, BindingDirection) Method

Summary

Called when any binding is set up.
Namespace
ReactiveUI
Containing Type
AutoDataTemplateBindingHook

Syntax

public bool ExecuteHook(object source, object target, Func<IObservedChange<object, object>[]> getCurrentViewModelProperties, Func<IObservedChange<object, object>[]> getCurrentViewProperties, BindingDirection direction)

Parameters

Name Type Description
source object The source ViewModel.
target object The target View (not the actual control).
getCurrentViewModelProperties Func<IObservedChange<object, object>[]> Get current view model properties.
getCurrentViewProperties Func<IObservedChange<object, object>[]> Get current view properties.
direction BindingDirection The Binding direction.

Return Value

Type Description
bool If false, the binding is cancelled.