Interface IBindableDictionary<TKey, TValue>
- Namespace
- Bindables
- Assembly
- Bindables.dll
Represents a bindable dictionary that notifies observers when the dictionary or its elements change.
public interface IBindableDictionary<TKey, TValue> : IBindable<Dictionary<TKey, TValue>>, IBindable, IReadOnlyDictionary<TKey, TValue>, IReadOnlyCollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
Type Parameters
TKeyThe type of keys in the dictionary.
TValueThe type of values in the dictionary.
- Inherited Members
- Extension Methods
Events
OnElementAdd
Occurs when an element is added to the dictionary.
event Action<TKey, TValue> OnElementAdd
Event Type
- Action<TKey, TValue>
OnElementChange
Occurs when an element's value is changed in the dictionary.
event Action<TKey, TValue, TValue> OnElementChange
Event Type
- Action<TKey, TValue, TValue>
OnElementRemove
Occurs when an element is removed from the dictionary.
event Action<TKey, TValue> OnElementRemove
Event Type
- Action<TKey, TValue>