Table of Contents

Class SortedObservableCollection<T, TKey>

Namespace
Alternet.FormDesigner.Wpf
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Extends ObservableCollection{T} with an AddSorted method to insert items in a sorted collection.

public class SortedObservableCollection<T, TKey> : ObservableCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Type Parameters

T
TKey
Inheritance
SortedObservableCollection<T, TKey>
Implements
Derived
Extension Methods

Constructors

SortedObservableCollection(Func<T, TKey>)

Creates a new SortedObservableCollection instance.

Methods

AddSorted(T)

Adds an item to a sorted collection.