[]
The Dictionary<TKey, TValue> supporting GrapeCity.Documents.Common.IObservableCollectionEx interface.
public class ObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, ICollection<KeyValuePair<TKey, TValue>>, IDictionary, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IList, ICollection, IEnumerable
Public Class ObservableDictionary(Of TKey, TValue)
Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)), ICollection(Of KeyValuePair(Of TKey, TValue)), IDictionary, IReadOnlyDictionary(Of TKey, TValue), IReadOnlyCollection(Of KeyValuePair(Of TKey, TValue)), IEnumerable(Of KeyValuePair(Of TKey, TValue)), IReadOnlyCollection(Of KeyValuePair(Of TKey, TValue)), IEnumerable(Of KeyValuePair(Of TKey, TValue)), IList, ICollection, IEnumerable
| Name | Description |
|---|---|
| TKey | The type of the keys in the dictionary. |
| TValue | The type of the values in the dictionary. |
| Name | Description |
|---|---|
| ObservableDictionary() | Initializes a new instance of the ObservableDictionary<TKey, TValue> class. |
| ObservableDictionary(IEqualityComparer<TKey>) | Initializes a new instance of the ObservableDictionary<TKey, TValue> class. |
| Name | Description |
|---|---|
| m_Items | The underlying Dictionary<TKey, TValue>. |
| Name | Description |
|---|---|
| Changed | Gets a value indicating whether the list was changed. |
| Count | Gets the number of key/value pairs contained in the SortedDictionary<TKey, TValue>. |
| this[TKey] | Gets or sets the value associated with the specified key. |
| Keys | Gets a collection containing the keys in the ObservableSortedDictionary<TKey, TValue>. |
| Values | Gets a collection containing the values in the SortedDictionary<TKey, TValue>. |
| Name | Description |
|---|---|
| Add(TKey, TValue) | Adds an element with the specified key and value into the ObservableSortedDictionary<TKey, TValue>. |
| AddItem(TKey, TValue) | Adds an element into collection with specified key. |
| Clear() | Removes all elements from the ObservableSortedDictionary<TKey, TValue>. |
| ClearItems() | Removes all elements from the collection. |
| ContainsKey(TKey) | Determines whether the ObservableSortedDictionary<TKey, TValue> contains an element with the specified key. |
| OnChanged() | Called when dictionary was changed, sets Changed to true. |
| Remove(TKey) | Removes the element with the specified key from the ObservableSortedDictionary<TKey, TValue>. |
| RemoveItem(TKey) | Removes an element with specified key. |
| SetItem(TKey, TValue) | Replaces the element with the specified key. |
| TryGetValue(TKey, out TValue) | Gets the value associated with the specified key. |
| Name | Description |
|---|---|
| DictionaryChanged | Raised when the ObservableDictionary<TKey, TValue> is changed. |