Class
AttachableObjectCollection<TOwner, TObject>

Represents a collection of AttachableObject<T> instances.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Navigation.dll

Type Parameters:

TOwner

Specifies the type of the owner of the items.

TObject

Specifies the type of the attachable objects.

Syntax:

cs-api-definition
public class AttachableObjectCollection<TOwner, TObject> : ObservableCollection<TObject>, IList<TObject>, ICollection<TObject>, IList, ICollection, IReadOnlyList<TObject>, IReadOnlyCollection<TObject>, IEnumerable<TObject>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged where TOwner : class where TObject : AttachableObject<TOwner>

Inheritance: objectCollection<TObject>ObservableCollection<TObject>AttachableObjectCollection<TOwner, TObject>

Derived Classes: CommandCollection<T>

Implements: ICollectionICollection<TObject>IEnumerableIEnumerable<TObject>IListIList<TObject>INotifyCollectionChangedINotifyPropertyChangedIReadOnlyCollection<TObject>IReadOnlyList<TObject>

Inherited Members ObservableCollection<TObject>.Move(int, int)ObservableCollection<TObject>.MoveItem(int, int)ObservableCollection<TObject>.OnPropertyChanged(PropertyChangedEventArgs)ObservableCollection<TObject>.OnCollectionChanged(NotifyCollectionChangedEventArgs)ObservableCollection<TObject>.BlockReentrancy()ObservableCollection<TObject>.CheckReentrancy()ObservableCollection<TObject>.CollectionChangedObservableCollection<TObject>.PropertyChangedCollection<TObject>.Add(TObject)Collection<TObject>.Clear()Collection<TObject>.CopyTo(TObject[], int)Collection<TObject>.Contains(TObject)Collection<TObject>.GetEnumerator()Collection<TObject>.IndexOf(TObject)Collection<TObject>.Insert(int, TObject)Collection<TObject>.Remove(TObject)Collection<TObject>.RemoveAt(int)Collection<TObject>.CountCollection<TObject>.ItemsCollection<TObject>.this[int]

Methods

ClearItems()

Clears the items.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides ObservableCollection<TObject>.ClearItems()

InsertItem(int, TObject)

Inserts the item.

Declaration

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

Parameters

index

int

The index.

item

TObject

The item.

Overrides ObservableCollection<TObject>.InsertItem(int, TObject)

RemoveItem(int)

Removes the item.

Declaration

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

Parameters

index

int

The index.

Overrides ObservableCollection<TObject>.RemoveItem(int)

SetItem(int, TObject)

Sets the item.

Declaration

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

Parameters

index

int

The index.

item

TObject

The item.

Overrides ObservableCollection<TObject>.SetItem(int, TObject)