FilterCollectionT Class |
Namespace: Eto.Forms
public class FilterCollection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection, INotifyCollectionChanged
[Missing <typeparam name="T"/> documentation for "T:Eto.Forms.FilterCollection`1"]
The FilterCollectionT type exposes the following members.
Name | Description | |
---|---|---|
FilterCollectionT |
Initializes a new instance of the FilterCollectionT class.
| |
FilterCollectionT(IEnumerableT) |
Initializes a new instance of the FilterCollectionT class with the specified collection.
| |
FilterCollectionT(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.
|
Name | Description | |
---|---|---|
Change |
Gets or sets the delegate to create a change object each time the collection is filtered.
| |
Count |
Gets the count of items in the collection.
| |
Filter |
Gets or sets the filter delegate for items in this collection.
| |
HasFilterOrSort |
Gets a value indicating whether this instance has filtering or sorting.
| |
IsReadOnly |
Gets a value indicating whether this collection is read only.
| |
Item |
Gets or sets the FilterCollectionT at the specified index.
| |
Items |
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.
| |
Sort |
Gets or sets the sort.
|
Name | Description | |
---|---|---|
Add |
Add the specified item to the collection.
| |
AddRange |
Adds the specified items to the collection.
| |
Clear |
Clears the items from the collection.
| |
Contains |
Gets a value indicating that the specified item is contained within this collection.
| |
CopyTo |
Copies the current filtered collection to the specified array.
| |
CreateChange |
Creates a change object before any change is made to the filter collection.
| |
GetEnumerator |
Gets the enumerator for the collection.
| |
IndexOf |
Determines the index of a specific item in the collection.
| |
Insert |
Insert the item at the specified index.
| |
InsertRange |
Inserts the items to the collection at the specified index.
| |
OnCollectionChanged |
Raises the CollectionChanged event.
| |
Rebuild |
Rebuilds the filtered/sorted view of this collection
| |
Refresh |
Refreshes the list by applying the filter and sort to the contained items
| |
Remove |
Remove the specified item from the collection.
| |
RemoveAt |
Removes the item at the specified index.
|
Name | Description | |
---|---|---|
CollectionChanged |
Occurs when the collection is changed.
|