Click or drag to resize

FilterCollectionT Class

Collection that supports filtering and sorting
Inheritance Hierarchy

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
public class FilterCollection<T> : IList<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, 

Type Parameters


[Missing <typeparam name="T"/> documentation for "T:Eto.Forms.FilterCollection`1"]

The FilterCollectionT type exposes the following members.

Public methodFilterCollectionT
Initializes a new instance of the FilterCollectionT class.
Public methodFilterCollectionT(IEnumerableT)
Initializes a new instance of the FilterCollectionT class with the specified collection.
Public methodFilterCollectionT(IListT)
Initializes a new instance of the FilterCollectionT class with the specified list which will keep in sync with any changes to the filtered collection.
Public propertyChange
Gets or sets the delegate to create a change object each time the collection is filtered.
Public propertyCount
Gets the count of items in the collection.
Public propertyFilter
Gets or sets the filter delegate for items in this collection.
Protected propertyHasFilterOrSort
Gets a value indicating whether this instance has filtering or sorting.
Public propertyIsReadOnly
Gets a value indicating whether this collection is read only.
Public propertyItem
Gets or sets the FilterCollectionT at the specified index.
Protected propertyItems
Gets the underlying list of items that the filtered collection is based off. If you change this list, you must call Rebuild to update the filtered collection.
Public propertySort
Gets or sets the sort.
Public methodAdd
Add the specified item to the collection.
Public methodAddRange
Adds the specified items to the collection.
Public methodClear
Clears the items from the collection.
Public methodContains
Gets a value indicating that the specified item is contained within this collection.
Public methodCopyTo
Copies the current filtered collection to the specified array.
Protected methodCreateChange
Creates a change object before any change is made to the filter collection.
Public methodGetEnumerator
Gets the enumerator for the collection.
Public methodIndexOf
Determines the index of a specific item in the collection.
Public methodInsert
Insert the item at the specified index.
Public methodInsertRange
Inserts the items to the collection at the specified index.
Protected methodOnCollectionChanged
Raises the CollectionChanged event.
Protected methodRebuild
Rebuilds the filtered/sorted view of this collection
Public methodRefresh
Refreshes the list by applying the filter and sort to the contained items
Public methodRemove
Remove the specified item from the collection.
Public methodRemoveAt
Removes the item at the specified index.
Public eventCollectionChanged
Occurs when the collection is changed.
See Also