Table of Contents

Class ItemsSourceView<T>

Namespace
Avalonia.Controls
Assembly
Avalonia.Controls.dll
public sealed class ItemsSourceView<T> : ItemsSourceView, IReadOnlyList<object?>, IReadOnlyCollection<object?>, IEnumerable<object?>, IList, ICollection, INotifyCollectionChanged, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

T
Inheritance
ItemsSourceView<T>
Implements
Inherited Members

Properties

Empty

Gets an empty ItemsSourceView

public static ItemsSourceView<T> Empty { get; }

Property Value

ItemsSourceView<T>

this[int]

Retrieves the item at the specified index.

public T this[int index] { get; }

Parameters

index int

The index.

Property Value

T

The item.

Methods

GetAt(int)

Retrieves the item at the specified index.

public T GetAt(int index)

Parameters

index int

The index.

Returns

T

The item.

GetEnumerator()

public IEnumerator<T> GetEnumerator()

Returns

IEnumerator<T>