[]>
Defined in Type: ContentControlBindingHook
Namespace: ReactiveUI.Winforms
Assembly: ReactiveUI.Winforms.dll
Applies to
net481
public bool ExecuteHook(object? source, object target, Func<IObservedChange<object, object>[]> getCurrentViewModelProperties, Func<IObservedChange<object, object>[]> getCurrentViewProperties, BindingDirection direction)
Inherited documentation
These docs were inherited from IPropertyBindingHook. The member doesn't override them on this type.
Summary: Called as a binding is set up, before it is wired, and can refuse the binding.
Parameters
| Name | Type | Description |
|---|---|---|
source | object? | The source ViewModel; may be null. |
target | object | The target View (not the actual control). |
getCurrentViewModelProperties | Func | Reads the current values along the view model property path when called. |
getCurrentViewProperties | Func | Reads the current values along the view property path when called. |
direction | BindingDirection | The Binding direction. |
Returns: bool -- true to let the binding proceed; false to cancel it.