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
-
Collection<T>SortedObservableCollection<T, TKey>
- Implements
-
IList<T>ICollection<T>IEnumerable<T>
- Derived
- Extension Methods
Constructors
- SortedObservableCollection(Func<T, TKey>)
Creates a new SortedObservableCollection instance.
Methods
- AddSorted(T)
Adds an item to a sorted collection.