DataTemplates Class

Summary

A collection of IDataTemplates.
Namespace
Avalonia.Controls.Templates
Interfaces
Base Types
graph BT Type-->Base0["AvaloniaList<IDataTemplate>"] Base0-->Base1["object"] Type-.->Interface0["IAvaloniaList<IDataTemplate>"] Type-.->Interface1["IList<IDataTemplate>"] Type-.->Interface2["ICollection<IDataTemplate>"] Type-.->Interface3["IAvaloniaReadOnlyList<IDataTemplate>"] Type-.->Interface4["IReadOnlyList<IDataTemplate>"] Type-.->Interface5["IReadOnlyCollection<IDataTemplate>"] Type-.->Interface6["IEnumerable<IDataTemplate>"] Type-.->Interface7["INotifyCollectionChanged"] Type-.->Interface8["INotifyPropertyChanged"] Type-.->Interface9["IList"] Type-.->Interface10["ICollection"] Type-.->Interface11["IEnumerable"] Type-.->Interface12["INotifyCollectionChangedDebug"] click Interface12 "/api/Avalonia.Diagnostics/INotifyCollectionChangedDebug" Type["DataTemplates"] class Type type-node

Syntax

public class DataTemplates : AvaloniaList<IDataTemplate>, IAvaloniaList<IDataTemplate>, 
    IList<IDataTemplate>, ICollection<IDataTemplate>, IAvaloniaReadOnlyList<IDataTemplate>, 
    IReadOnlyList<IDataTemplate>, IReadOnlyCollection<IDataTemplate>, IEnumerable<IDataTemplate>, 
    INotifyCollectionChanged, INotifyPropertyChanged, IList, ICollection, IEnumerable, 
    INotifyCollectionChangedDebug

Constructors

Name Summary
DataTemplates() Initializes a new instance of the DataTemplates class.

Extension Methods

Name Value Summary
CreateDerivedList<IDataTemplate, TDerived>(Func<IDataTemplate, TDerived>) IAvaloniaReadOnlyList<TDerived>
ForEachItem<IDataTemplate>(Action<int, IDataTemplate>, Action<int, IDataTemplate>, Action, bool) IDisposable
Invokes an action for each item in a collection and subsequently each item added or removed from the collection.
ForEachItem<IDataTemplate>(Action<IDataTemplate>, Action<IDataTemplate>, Action, bool) IDisposable
Invokes an action for each item in a collection and subsequently each item added or removed from the collection.
TrackItemPropertyChanged<IDataTemplate>(Action<Tuple<object, PropertyChangedEventArgs>>) IDisposable
Listens for property changed events from all items in a collection.