Skip to main content

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)

public class AutoDataTemplateBindingHook : IPropertyBindingHook
View Source
InheritanceObject → AutoDataTemplateBindingHook
ImplementsIPropertyBindingHook

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)

See Also

Reference

Avalonia.ReactiveUI Namespace