IAvaloniaReadOnlyList<T> Interface
A read-only notifying list.
Definition
Namespace: Avalonia.Collections
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public interface IAvaloniaReadOnlyList<out T> : IReadOnlyList<T>,
IEnumerable<T>, IEnumerable, IReadOnlyCollection<T>, INotifyCollectionChanged, INotifyPropertyChanged
Public Interface IAvaloniaReadOnlyList(Of Out T)
Inherits IReadOnlyList(Of T), IEnumerable(Of T), IEnumerable,
IReadOnlyCollection(Of T), INotifyCollectionChanged, INotifyPropertyChanged
type IAvaloniaReadOnlyList<'T> =
interface
interface IReadOnlyList<'T>
interface IEnumerable<'T>
interface IEnumerable
interface IReadOnlyCollection<'T>
interface INotifyCollectionChanged
interface INotifyPropertyChanged
end
Implements | IEnumerable(T), IReadOnlyCollection(T), IReadOnlyList(T), IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged |
Type Parameters
- The type of the items in the list.
Properties
Count | Gets the number of elements in the collection. (Inherited from IReadOnlyCollection(T)) |
Item(Int32) | Gets the element at the specified index in the read-only list. (Inherited from IReadOnlyList(T)) |
Methods
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable(T)) |
Events
CollectionChanged | Occurs when the collection changes. (Inherited from INotifyCollectionChanged) |
PropertyChanged | Occurs when a property value changes. (Inherited from INotifyPropertyChanged) |
Extension Methods
ForEachItem(T)(Action(T), Action(T), Action, Boolean) | Invokes an action for each item in a collection and subsequently each item added or removed from the collection. (Defined by AvaloniaListExtensions) |
ForEachItem(T)(Action(Int32, T), Action(Int32, T), Action, Boolean) | Invokes an action for each item in a collection and subsequently each item added or removed from the collection. (Defined by AvaloniaListExtensions) |
GetWeakCollectionChangedObservable() | Gets a weak observable for the CollectionChanged event. (Defined by NotifyCollectionChangedExtensions) |
TrackItemPropertyChanged(T)(Action(Tuple(Object, PropertyChangedEventArgs))) | Listens for property changed events from all items in a collection. (Defined by AvaloniaListExtensions) |
WeakSubscribe(Action(NotifyCollectionChangedEventArgs)) | Subscribes to the CollectionChanged event using a weak subscription. (Defined by NotifyCollectionChangedExtensions) |
WeakSubscribe(NotifyCollectionChangedEventHandler) | Subscribes to the CollectionChanged event using a weak subscription. (Defined by NotifyCollectionChangedExtensions) |