IAvaloniaReadOnlyList<T> Interface

Summary

A read-only notifying list.
graph BT Type-.->Interface0["IReadOnlyList<T>"] Type-.->Interface1["IReadOnlyCollection<T>"] Type-.->Interface2["IEnumerable<T>"] Type-.->Interface3["IEnumerable"] Type-.->Interface4["INotifyCollectionChanged"] Type-.->Interface5["INotifyPropertyChanged"] Type["IAvaloniaReadOnlyList<T>"] class Type type-node Implementing0["ByteAnimator"]-.->Type click Implementing0 "/api/Avalonia.Animation.Animators/ByteAnimator" Implementing1["Styles"]-.->Type click Implementing1 "/api/Avalonia.Styling/Styles" Implementing2["PathSegments"]-.->Type click Implementing2 "/api/Avalonia.Media/PathSegments" Implementing3["DecimalAnimator"]-.->Type click Implementing3 "/api/Avalonia.Animation.Animators/DecimalAnimator" Implementing4["DoubleAnimator"]-.->Type click Implementing4 "/api/Avalonia.Animation.Animators/DoubleAnimator" Implementing5["DataTemplates"]-.->Type click Implementing5 "/api/Avalonia.Controls.Templates/DataTemplates" Implementing6["SolidColorBrushAnimator"]-.->Type click Implementing6 "/api/Avalonia.Animation.Animators/SolidColorBrushAnimator" Implementing7["ColorAnimator"]-.->Type click Implementing7 "/api/Avalonia.Animation.Animators/ColorAnimator" Implementing8["DataGridSortDescriptionCollection"]-.->Type click Implementing8 "/api/Avalonia.Collections/DataGridSortDescriptionCollection" Implementing9["AvaloniaList<T>"]-.->Type click Implementing9 "/api/Avalonia.Collections/AvaloniaList_1" Implementing10["Points"]-.->Type click Implementing10 "/api/Avalonia/Points" Implementing11["BoolAnimator"]-.->Type click Implementing11 "/api/Avalonia.Animation.Animators/BoolAnimator" Implementing12["ThicknessAnimator"]-.->Type click Implementing12 "/api/Avalonia.Animation.Animators/ThicknessAnimator" Implementing13["UInt32Animator"]-.->Type click Implementing13 "/api/Avalonia.Animation.Animators/UInt32Animator" Implementing14["Int32Animator"]-.->Type click Implementing14 "/api/Avalonia.Animation.Animators/Int32Animator" Implementing15["DefinitionList<T>"]-.->Type click Implementing15 "/api/Avalonia.Controls/DefinitionList_1" Implementing16["VectorAnimator"]-.->Type click Implementing16 "/api/Avalonia.Animation.Animators/VectorAnimator" Implementing17["Transforms"]-.->Type click Implementing17 "/api/Avalonia.Media/Transforms" Implementing18["FloatAnimator"]-.->Type click Implementing18 "/api/Avalonia.Animation.Animators/FloatAnimator" Implementing19["UInt16Animator"]-.->Type click Implementing19 "/api/Avalonia.Animation.Animators/UInt16Animator" Implementing20["Transitions"]-.->Type click Implementing20 "/api/Avalonia.Animation/Transitions" Implementing21["IAvaloniaList<T>"]-.->Type click Implementing21 "/api/Avalonia.Collections/IAvaloniaList_1" Implementing22["PointAnimator"]-.->Type click Implementing22 "/api/Avalonia.Animation.Animators/PointAnimator" Implementing23["PathFigures"]-.->Type click Implementing23 "/api/Avalonia.Media/PathFigures" Implementing24["TransformAnimator"]-.->Type click Implementing24 "/api/Avalonia.Animation.Animators/TransformAnimator" Implementing25["ColumnDefinitions"]-.->Type click Implementing25 "/api/Avalonia.Controls/ColumnDefinitions" Implementing26["Classes"]-.->Type click Implementing26 "/api/Avalonia.Controls/Classes" Implementing27["KeyFrames"]-.->Type click Implementing27 "/api/Avalonia.Animation/KeyFrames" Implementing28["RowDefinitions"]-.->Type click Implementing28 "/api/Avalonia.Controls/RowDefinitions" Implementing29["RectAnimator"]-.->Type click Implementing29 "/api/Avalonia.Animation.Animators/RectAnimator" Implementing30["DefaultTheme"]-.->Type click Implementing30 "/api/Avalonia.Themes.Default/DefaultTheme" Implementing31["GradientStops"]-.->Type click Implementing31 "/api/Avalonia.Media/GradientStops" Implementing32["UInt64Animator"]-.->Type click Implementing32 "/api/Avalonia.Animation.Animators/UInt64Animator" Implementing33["Int16Animator"]-.->Type click Implementing33 "/api/Avalonia.Animation.Animators/Int16Animator" Implementing34["SizeAnimator"]-.->Type click Implementing34 "/api/Avalonia.Animation.Animators/SizeAnimator" Implementing35["Controls"]-.->Type click Implementing35 "/api/Avalonia.Controls/Controls" Implementing36["Animator<T>"]-.->Type click Implementing36 "/api/Avalonia.Animation.Animators/Animator_1" Implementing37["Int64Animator"]-.->Type click Implementing37 "/api/Avalonia.Animation.Animators/Int64Animator" Implementing38["CornerRadiusAnimator"]-.->Type click Implementing38 "/api/Avalonia.Animation.Animators/CornerRadiusAnimator"

Syntax

public interface IAvaloniaReadOnlyList<out T> : IReadOnlyList<out T>, IReadOnlyCollection<out T>, 
    IEnumerable<out T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Type Parameters

Name Description
T The type of the items in the list.

Extension Methods

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