CollectionChangedHandlerTItem, TCollection Class |
Namespace: Eto
public abstract class CollectionChangedHandler<TItem, TCollection> where TCollection : class
The CollectionChangedHandlerTItem, TCollection type exposes the following members.
Name | Description | |
---|---|---|
CollectionChangedHandlerTItem, TCollection | Initializes a new instance of the CollectionChangedHandlerTItem, TCollection class |
Name | Description | |
---|---|---|
Collection |
Gets the collection that this handler is observing
| |
Count |
Gets the count of the items in the current registered collection.
|
Name | Description | |
---|---|---|
AddItem |
Adds the item to the end of the collection
| |
AddRange |
Adds multiple items to the end of the collection
| |
ElementAt |
Gets the element at the specified index of the current registered collection.
| |
IndexOf |
Gets the index of the specified item
| |
InsertItem |
Inserts an item at the specified index in the collection
| |
InsertRange |
Inserts multiple items to the specified index in the collection
| |
InternalElementAt |
Gets the element at the specified index.
| |
InternalIndexOf |
Gets the index of the item from the collection
| |
OnRegisterCollection |
Called when the object has been registered (attached) to a collection
| |
OnUnregisterCollection |
Called when the object has unregistered the collection
| |
Register |
Registers a specific collection to observe
| |
RemoveAllItems |
Removes all items from the collection
| |
RemoveItem(Int32) |
Removes the item at the specified index
| |
RemoveItem(TItem) |
Removes the specified item
| |
RemoveRange(IEnumerableTItem) |
Removes the specified items from the collection
| |
RemoveRange(Int32, Int32) |
Removes a specified count of items from the collection starting at the specified index
| |
Reset |
Resets the collection when it is dramatically changed
| |
Unregister |
Unregisters the current registered collection
|