Click or drag to resize

EnumerableChangedHandlerTItem Class

Helper class to handle collection change events of an IEnumerable
Inheritance Hierarchy
SystemObject
  EtoCollectionChangedHandlerTItem, IEnumerableTItem
    EtoEnumerableChangedHandlerTItem, IEnumerableTItem
      EtoEnumerableChangedHandlerTItem

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public abstract class EnumerableChangedHandler<TItem> : EnumerableChangedHandler<TItem, IEnumerable<TItem>>

Type Parameters

TItem
Type of each item in the enumerable

The EnumerableChangedHandlerTItem type exposes the following members.

Constructors
  NameDescription
Protected methodEnumerableChangedHandlerTItem
Initializes a new instance of the EnumerableChangedHandlerTItem class
Top
Remarks
This is used for the platform handler of controls that use collections. This class helps detect changes to a collection so that the appropriate action can be taken to update the UI with the changes. Use this class as a base when you only have an IEnumerable. If the object also implements INotifyCollectionChanged it will get changed events otherwise you must register a new collection each time.
See Also

Reference