Click or drag to resize

EnumerableChangedHandlerTItem, TCollection Class

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

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

Type Parameters

TItem
Type of each item in the enumerable
TCollection
Type of the collection to handle the change events for

The EnumerableChangedHandlerTItem, TCollection type exposes the following members.

Constructors
  NameDescription
Protected methodEnumerableChangedHandlerTItem, TCollection
Initializes a new instance of the EnumerableChangedHandlerTItem, TCollection class
Top
Properties
Methods
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