ObservableBindingListTRaiseItemChangedEvents Property

Gets or sets whether ListChanged and CollectionChanged events are invoked with ItemChanged/Replace change type when a property of an item changes.
If T does not implement INotifyPropertyChanged, then this property returns . Otherwise, the default value is .

Definition

Namespace: KGySoft.ComponentModel
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public virtual bool RaiseItemChangedEvents { get; set; }

Property Value

Boolean

Remarks

Setting this property to can result in better performance if the underlying list has a poor lookup performance.

  Note

If the ObservableBindingListT is initialized by its default constructor, then the element lookup has O(1) cost.

This property returns always if T does not implement the INotifyPropertyChanged interface.

ListChanged is invoked only if RaiseListChangedEvents is ; and CollectionChanged is raised only if RaiseCollectionChangedEvents is .

See Also