Represents a dictionary that provides notifications when items get added, removed,
or when the whole list is refreshed.
Namespace:
Mindscape.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public class ObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IDictionary, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged |
Visual Basic (Declaration) |
---|
Public Class ObservableDictionary(Of TKey, TValue) _ Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)), _ IEnumerable(Of KeyValuePair(Of TKey, TValue)), IDictionary, _ ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged |
Type Parameters
- TKey
- The type of keys in the dictionary.
- TValue
- The type of values in the dictionary.