Click or drag to resize

DataStoreChangedHandlerTItem, TCollection Class

Inheritance Hierarchy
SystemObject
  EtoCollectionChangedHandlerTItem, TCollection
    EtoDataStoreChangedHandlerTItem, TCollection

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

Type Parameters

TItem
Type of items in the data store
TCollection
Type of the data store to detect changes on

The DataStoreChangedHandlerTItem, TCollection type exposes the following members.

Constructors
  NameDescription
Protected methodDataStoreChangedHandlerTItem, TCollection
Initializes a new instance of the DataStoreChangedHandlerTItem, 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 are detecting changes for an IDataStoreT. If the object also implements INotifyCollectionChanged, it will get changed events. Otherwise, you must register a new collection each time.
See Also

Reference