Class
ItemNotifyCollection<T>

Represents a collection that provides notifications when items are added, removed, or when individual items' properties change.

Definition

Namespace:Telerik.Collections.Generic

Assembly:Telerik.WinControls.dll

Type Parameters:

T

The type of elements in the collection. Must implement INotifyPropertyChanged.

Syntax:

cs-api-definition
public class ItemNotifyCollection<T> : NotifyCollection<T>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where T : INotifyPropertyChanged

Inheritance: objectCollection<T>NotifyCollection<T>ItemNotifyCollection<T>

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyPropertyChanged

Inherited Members NotifyCollection<T>.EmptyNotifyCollection<T>.Move(int, int)NotifyCollection<T>.AddRange(params T[])NotifyCollection<T>.AddRange(IEnumerable<T>)NotifyCollection<T>.BeginUpdate()NotifyCollection<T>.EndUpdate()NotifyCollection<T>.EndUpdate(bool)NotifyCollection<T>.DeferRefresh()NotifyCollection<T>.MoveItem(int, int)NotifyCollection<T>.CreateEventArguments(NotifyCollectionChangedAction)NotifyCollection<T>.CreateEventArguments(NotifyCollectionChangedAction, object, int)NotifyCollection<T>.CreateEventArguments(NotifyCollectionChangedAction, object, object, int)NotifyCollection<T>.OnCollectionChanged(NotifyCollectionChangedEventArgs)NotifyCollection<T>.OnPropertyChanged(PropertyChangedEventArgs)NotifyCollection<T>.OnPropertyChanged(string)NotifyCollection<T>.VersionNotifyCollection<T>.SuspendedNotifyCollection<T>.CollectionChangedNotifyCollection<T>.PropertyChangedCollection<T>.Add(T)Collection<T>.Clear()Collection<T>.CopyTo(T[], int)Collection<T>.Contains(T)Collection<T>.GetEnumerator()Collection<T>.IndexOf(T)Collection<T>.Insert(int, T)Collection<T>.Remove(T)Collection<T>.RemoveAt(int)Collection<T>.CountCollection<T>.ItemsCollection<T>.this[int]

Constructors

ItemNotifyCollection()

Declaration

cs-api-definition
public ItemNotifyCollection()

ItemNotifyCollection(IList<T>)

Declaration

cs-api-definition
public ItemNotifyCollection(IList<T> list)

Parameters

list

IList<T>

Methods

ClearItems()

Declaration

cs-api-definition
protected override void ClearItems()

Overrides NotifyCollection<T>.ClearItems()

InsertItem(int, T)

Declaration

cs-api-definition
protected override void InsertItem(int index, T item)

Parameters

index

int

item

T

Overrides NotifyCollection<T>.InsertItem(int, T)

RemoveItem(int)

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

Overrides NotifyCollection<T>.RemoveItem(int)

SetItem(int, T)

Declaration

cs-api-definition
protected override void SetItem(int index, T item)

Parameters

index

int

item

T

Overrides NotifyCollection<T>.SetItem(int, T)

SubscribeItem(T)

Declaration

cs-api-definition
protected virtual void SubscribeItem(T item)

Parameters

item

T

UnsubscribeItem(T)

Declaration

cs-api-definition
protected virtual void UnsubscribeItem(T item)

Parameters

item

T