[]
        
(Showing Draft Content)

C1.Maui.Calendar.DeferrableObservableCollection-1

DeferrableObservableCollection<T> Class

The DeferrableObservableCollection<T> represents an ObservableCollection<T> supported deferring events during the massive collection changes.

Inheritance
DeferrableObservableCollection<T>
Namespace: C1.Maui.Calendar
Assembly: C1.Maui.Calendar.dll
Syntax
public class DeferrableObservableCollection<T> : ObservableCollection<T>, IList<T>, ICollection<T>, IList, ICollection, IReadOnlyList<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Type Parameters
Name Description
T

Constructors

Name Description
DeferrableObservableCollection()

Properties

Name Description
InUpdate

Gets a bool value determining whether the DeferrableObservableCollection<T> is in update mode (BeginUpdate() has been called).

Methods

Name Description
BeginUpdate()

Prevents raising events until the EndUpdate() method is called.

EndUpdate()

Enables raising events. If collection has been changed since the call to the BeginUpdate() method, raises PropertyChanged and CollectionChanged events.

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Overrides the default behavior.

OnPropertyChanged(PropertyChangedEventArgs)

Overrides the default behavior.