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["Styles"]-.->Type click Implementing0 "/api/Avalonia.Styling/Styles" Implementing1["TextDecorationCollection"]-.->Type click Implementing1 "/api/Avalonia.Media/TextDecorationCollection" Implementing2["IAvaloniaList<T>"]-.->Type click Implementing2 "/api/Avalonia.Collections/IAvaloniaList_1" Implementing3["UInt64Animator"]-.->Type click Implementing3 "/api/Avalonia.Animation.Animators/UInt64Animator" Implementing4["ColumnDefinitions"]-.->Type click Implementing4 "/api/Avalonia.Controls/ColumnDefinitions" Implementing5["CornerRadiusAnimator"]-.->Type click Implementing5 "/api/Avalonia.Animation.Animators/CornerRadiusAnimator" Implementing6["BoolAnimator"]-.->Type click Implementing6 "/api/Avalonia.Animation.Animators/BoolAnimator" Implementing7["Transforms"]-.->Type click Implementing7 "/api/Avalonia.Media/Transforms" Implementing8["KeyFrames"]-.->Type click Implementing8 "/api/Avalonia.Animation/KeyFrames" Implementing9["DoubleAnimator"]-.->Type click Implementing9 "/api/Avalonia.Animation.Animators/DoubleAnimator" Implementing10["DataGridSortDescriptionCollection"]-.->Type click Implementing10 "/api/Avalonia.Collections/DataGridSortDescriptionCollection" Implementing11["Animator<T>"]-.->Type click Implementing11 "/api/Avalonia.Animation.Animators/Animator_1" Implementing12["BaseBrushAnimator"]-.->Type click Implementing12 "/api/Avalonia.Animation.Animators/BaseBrushAnimator" Implementing13["DefaultTheme"]-.->Type click Implementing13 "/api/Avalonia.Themes.Default/DefaultTheme" Implementing14["RectAnimator"]-.->Type click Implementing14 "/api/Avalonia.Animation.Animators/RectAnimator" Implementing15["VectorAnimator"]-.->Type click Implementing15 "/api/Avalonia.Animation.Animators/VectorAnimator" Implementing16["ThicknessAnimator"]-.->Type click Implementing16 "/api/Avalonia.Animation.Animators/ThicknessAnimator" Implementing17["UInt16Animator"]-.->Type click Implementing17 "/api/Avalonia.Animation.Animators/UInt16Animator" Implementing18["TransformAnimator"]-.->Type click Implementing18 "/api/Avalonia.Animation.Animators/TransformAnimator" Implementing19["DecimalAnimator"]-.->Type click Implementing19 "/api/Avalonia.Animation.Animators/DecimalAnimator" Implementing20["RowDefinitions"]-.->Type click Implementing20 "/api/Avalonia.Controls/RowDefinitions" Implementing21["DefinitionList<T>"]-.->Type click Implementing21 "/api/Avalonia.Controls/DefinitionList_1" Implementing22["ColorAnimator"]-.->Type click Implementing22 "/api/Avalonia.Animation.Animators/ColorAnimator" Implementing23["BoxShadowsAnimator"]-.->Type click Implementing23 "/api/Avalonia.Animation.Animators/BoxShadowsAnimator" Implementing24["ByteAnimator"]-.->Type click Implementing24 "/api/Avalonia.Animation.Animators/ByteAnimator" Implementing25["Classes"]-.->Type click Implementing25 "/api/Avalonia.Controls/Classes" Implementing26["Points"]-.->Type click Implementing26 "/api/Avalonia/Points" Implementing27["GradientStops"]-.->Type click Implementing27 "/api/Avalonia.Media/GradientStops" Implementing28["Transitions"]-.->Type click Implementing28 "/api/Avalonia.Animation/Transitions" Implementing29["FloatAnimator"]-.->Type click Implementing29 "/api/Avalonia.Animation.Animators/FloatAnimator" Implementing30["AvaloniaList<T>"]-.->Type click Implementing30 "/api/Avalonia.Collections/AvaloniaList_1" Implementing31["BoxShadowAnimator"]-.->Type click Implementing31 "/api/Avalonia.Animation.Animators/BoxShadowAnimator" Implementing32["SizeAnimator"]-.->Type click Implementing32 "/api/Avalonia.Animation.Animators/SizeAnimator" Implementing33["SolidColorBrushAnimator"]-.->Type click Implementing33 "/api/Avalonia.Animation.Animators/SolidColorBrushAnimator" Implementing34["FluentControls"]-.->Type click Implementing34 "/api/Avalonia.Themes.Fluent.Controls/FluentControls" Implementing35["PointAnimator"]-.->Type click Implementing35 "/api/Avalonia.Animation.Animators/PointAnimator" Implementing36["Int32Animator"]-.->Type click Implementing36 "/api/Avalonia.Animation.Animators/Int32Animator" Implementing37["Int64Animator"]-.->Type click Implementing37 "/api/Avalonia.Animation.Animators/Int64Animator" Implementing38["PathSegments"]-.->Type click Implementing38 "/api/Avalonia.Media/PathSegments" Implementing39["TransformOperationsAnimator"]-.->Type click Implementing39 "/api/Avalonia.Animation.Animators/TransformOperationsAnimator" Implementing40["DataTemplates"]-.->Type click Implementing40 "/api/Avalonia.Controls.Templates/DataTemplates" Implementing41["Int16Animator"]-.->Type click Implementing41 "/api/Avalonia.Animation.Animators/Int16Animator" Implementing42["ISolidColorBrushAnimator"]-.->Type click Implementing42 "/api/Avalonia.Animation.Animators/ISolidColorBrushAnimator" Implementing43["UInt32Animator"]-.->Type click Implementing43 "/api/Avalonia.Animation.Animators/UInt32Animator" Implementing44["Controls"]-.->Type click Implementing44 "/api/Avalonia.Controls/Controls" Implementing45["PathFigures"]-.->Type click Implementing45 "/api/Avalonia.Media/PathFigures"

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.