Table of Contents

Class ObservableAttachedItemsCollection<T>

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll

We have to subclass ObservableCollection to avoid it sending empty oldItems upon Reset.

public class ObservableAttachedItemsCollection<T> : ObservableCollection<T>, IList<T>, ICollection<T>, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Type Parameters

T
Inheritance
ObservableAttachedItemsCollection<T>
Implements
Inherited Members
Extension Methods

Methods

ClearItems()

Removes all items from the collection.

protected override void ClearItems()