Controls Class

Summary

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

Syntax

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

Constructors

Name Summary
Controls() Initializes a new instance of the Controls class.
Controls(IEnumerable<IControl>) Initializes a new instance of the Controls class.

Extension Methods

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