Click or drag to resize

AtalaObservableDictionaryTKey, TValue Class

Represents an observable collection of keys and values.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.WpfAtalaObservableDictionaryTKey, TValue

Namespace:  Atalasoft.Imaging.Wpf
Assembly:  Atalasoft.dotImage.Wpf (in Atalasoft.dotImage.Wpf.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class AtalaObservableDictionary<TKey, TValue> : IDictionary<TKey, TValue>, 
	ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, 
	IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Type Parameters

TKey
The type of the keys in the dictionary.
TValue
The type of the values in the dictionary.

The AtalaObservableDictionaryTKey, TValue type exposes the following members.

Constructors
  NameDescription
Public methodAtalaObservableDictionaryTKey, TValue
Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.
Public methodAtalaObservableDictionaryTKey, TValue(IDictionaryTKey, TValue)
Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that contains elements copied from the specified IDictionaryTKey, TValue and uses the default equality comparer for the key type.
Public methodAtalaObservableDictionaryTKey, TValue(IEqualityComparerTKey)
Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the default initial capacity, and uses the specified IEqualityComparerT.
Public methodAtalaObservableDictionaryTKey, TValue(Int32)
Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.
Public methodAtalaObservableDictionaryTKey, TValue(IDictionaryTKey, TValue, IEqualityComparerTKey)
Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that contains elements copied from the specified IDictionaryTKey, TValue and uses the specified IEqualityComparerT.
Public methodAtalaObservableDictionaryTKey, TValue(Int32, IEqualityComparerTKey)
Initializes a new instance of the AtalaObservableDictionaryTKey, TValue class that is empty, has the specified initial capacity, and uses the specified IEqualityComparerT.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollectionT.
Public propertyIsReadOnly
Gets a value indicating whether the ICollectionT is read-only.
Public propertyItem
Gets or sets the element with the specified key.
Public propertyKeys
Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
Public propertyValues
Gets an ICollectionT containing the values in the IDictionaryTKey, TValue.
Top
Methods
  NameDescription
Public methodAdd(KeyValuePairTKey, TValue)
Adds an item to the ICollectionT.
Public methodAdd(TKey, TValue)
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
Public methodClear
Removes all items from the ICollectionT.
Public methodContains
Determines whether the ICollectionT contains a specific value.
Public methodContainsKey
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
Public methodCopyTo
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnCollectionChanged
Fires a CollectionChanged event with specified args.
Protected methodOnPropertyChanged
Fires a PropertyChanged event.
Public methodRemove(KeyValuePairTKey, TValue)
Removes the first occurrence of a specific object from the ICollectionT.
Public methodRemove(TKey)
Removes the element with the specified key from the IDictionaryTKey, TValue.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
Top
Events
  NameDescription
Public eventCollectionChanged
Occurs when the collection changes.
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also