Skip to main content

IAvaloniaReadOnlyDictionary<TKey, TValue> Methods

Methods

ContainsKey(TKey)Determines whether the read-only dictionary contains an element that has the specified key.
(Inherited from IReadOnlyDictionary(TKey, TValue))
GetEnumerator()Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable(KeyValuePair(TKey, TValue)))
TryGetValue(TKey, TValue)Gets the value that is associated with the specified key.
(Inherited from IReadOnlyDictionary(TKey, TValue))

Extension Methods

GetWeakCollectionChangedObservable()Gets a weak observable for the CollectionChanged event.
(Defined by NotifyCollectionChangedExtensions)
WeakSubscribe(Action(NotifyCollectionChangedEventArgs))Subscribes to the CollectionChanged event using a weak subscription.
(Defined by NotifyCollectionChangedExtensions)
WeakSubscribe(NotifyCollectionChangedEventHandler)Subscribes to the CollectionChanged event using a weak subscription.
(Defined by NotifyCollectionChangedExtensions)

See Also

Reference

IAvaloniaReadOnlyDictionary(TKey, TValue) Interface
Avalonia.Collections Namespace