AutoDataTemplateBindingHook Class
AutoDataTemplateBindingHook is a binding hook that checks ItemsControls that don't have DataTemplates, and assigns a default DataTemplate that loads the View associated with each ViewModel.
Definition
Namespace: Avalonia.ReactiveUI
Assembly: Avalonia.ReactiveUI (in Avalonia.ReactiveUI.dll)
- C#
- VB
- F#
public class AutoDataTemplateBindingHook : IPropertyBindingHook
Public Class AutoDataTemplateBindingHook
Implements IPropertyBindingHook
type AutoDataTemplateBindingHook =
class
interface IPropertyBindingHook
end
| Inheritance | Object → AutoDataTemplateBindingHook |
| Implements | IPropertyBindingHook |
Constructors
| AutoDataTemplateBindingHook() | Initializes a new instance of the AutoDataTemplateBindingHook class |
Methods
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| ExecuteHook(Object, Object, Func(IObservedChange(Object, Object)[]), Func(IObservedChange(Object, Object)[]), BindingDirection) | Called when any binding is set up. |
| Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode() | Serves as the default hash function. (Inherited from Object) |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |