ItemsSourceView Class
Represents a standardized view of the supported interactions between an items collection and an items control.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public class ItemsSourceView : IReadOnlyList<Object>,
IEnumerable<Object>, IEnumerable, IReadOnlyCollection<Object>,
IList, ICollection, INotifyCollectionChanged
Public Class ItemsSourceView
Implements IReadOnlyList(Of Object), IEnumerable(Of Object),
IEnumerable, IReadOnlyCollection(Of Object), IList, ICollection,
INotifyCollectionChanged
type ItemsSourceView =
class
interface IReadOnlyList<Object>
interface IEnumerable<Object>
interface IEnumerable
interface IReadOnlyCollection<Object>
interface IList
interface ICollection
interface INotifyCollectionChanged
end
Inheritance | Object → ItemsSourceView |
Derived | Avalonia.Controls.ItemCollection Avalonia.Controls.ItemsSourceView(T) |
Implements | IEnumerable(Object), IReadOnlyCollection(Object), IReadOnlyList(Object), ICollection, IEnumerable, IList, INotifyCollectionChanged |
Properties
Count | Gets the number of items in the collection. |
Empty | Gets an empty ItemsSourceView |
Item(Int32) | Retrieves the item at the specified index. |
Source | Gets the source collection. |
Methods
Contains(Object) | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetAt(Int32) | Retrieves the item at the specified index. |
GetEnumerator() | |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetOrCreate(IEnumerable) | Gets or creates an ItemsSourceView for the specified enumerable. |
GetOrCreate(T)(IEnumerable) | Gets or creates an ItemsSourceView(T) for the specified enumerable. |
GetOrCreate(T)(IEnumerable(T)) | Gets or creates an ItemsSourceView(T) for the specified enumerable. |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
IndexOf(Object) | |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() | Returns a string that represents the current object. (Inherited from Object) |
Events
CollectionChanged | Occurs when the collection has changed to indicate the reason for the change and which items changed. |
Extension Methods
GetWeakCollectionChangedObservable() | Gets a weak observable for the CollectionChanged event. (Defined by NotifyCollectionChangedExtensions) |
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) |