[]>
Defined in Type: AutoDataTemplateBindingHook
Namespace: Avalonia.ReactiveUI
Assembly: ReactiveUI.Avalonia.dll
Applies to
netstandard2.0, netstandard2.0, netstandard2.0, netstandard2.0, netstandard2.0
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 when any binding is set up.
Parameters
| Name | Type | Description |
|---|---|---|
source | object? | The source ViewModel. |
target | object | The target View (not the actual control). |
getCurrentViewModelProperties | Func | Get current view model properties. |
getCurrentViewProperties | Func | Get current view properties. |
direction | BindingDirection | The Binding direction. |
Returns: bool -- If false, the binding is cancelled.