Table of Contents

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

TKey

The type of keys in the dictionary.

TValue

The type of values in the dictionary.

Inherited Members
Extension Methods

Properties

BindableCount

Gets a bindable property for the number of entries in the dictionary.

IBindable<int> BindableCount { get; }

Property Value

IBindable<int>

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>