-api-id | -api-type |
---|---|
E:Windows.Foundation.Collections.IObservableMap`2.MapChanged |
winrt event |
Occurs when the map changes.
The event handler receives an IMapChangedEventArgs object that contains data that describes the event.
IObservableMap<K,V> isn't hidden for .NET usage. However, it's more common to use the .NET ObservableCollection<T> type (using a KeyValuePair as T) as a base class, or implement a Dictionary type or interface (generic or nongeneric) and INotifyCollectionChanged separately. If you do use IObservableMap<K,V> for .NET code, the base interfaces (and their members) project as System.Collections.Generic.IDictionary<TKey,TValue> and IEnumerable<T> (with KeyValuePair). MapChanged is the only API that's shared between the projections.
IObservableMap<K, V>, MapChangedEventHandler(K, V), IMapChangedEventArgs<K>