Click or drag to resize
FilteringBindingList<T> Class
Specialization of the BindingList(Of T) class which allows filtering on properties. If the type of the element to produce properties for (through ITypedList) has the FilterPropertiesAttribute applied to itself, only properties which have the AllowInFilterAttribute are returned, otherwise all properties are returned.
Inheritance Hierarchy
System.Object
  System.Collections.ObjectModel.Collection<T>
    System.ComponentModel.BindingList<T>
      SD.LLBLGen.Pro.Core.GeneralDataStructures.FilteringBindingList<T>

Namespace:  SD.LLBLGen.Pro.Core.GeneralDataStructures
Assembly:  SD.LLBLGen.Pro.Core (in SD.LLBLGen.Pro.Core.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public class FilteringBindingList<T> : BindingList<T>, 
	ITypedList

Type Parameters

T
the type of the elements in this list

The FilteringBindingList< T> type exposes the following members.

Constructors
  NameDescription
Public methodFilteringBindingList<T>()
Initializes a new instance of the FilteringBindingList< T> class.
Public methodFilteringBindingList<T>(IList<T>)
Initializes a new instance of the FilteringBindingList< T> class.
Public methodFilteringBindingList<T>(IEnumerable)
Initializes a new instance of the FilteringBindingList< T> class.
Top
Properties
  NameDescription
Public propertyAllowEdit
Gets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingList<T>.)
Public propertyAllowNew
Gets or sets a value indicating whether you can add items to the list using the AddNew() method.
(Inherited from BindingList<T>.)
Public propertyAllowRemove
Gets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingList<T>.)
Public propertyCount (Inherited from Collection<T>.)
Protected propertyIsSortedCore
Gets a value indicating whether the list is sorted.
(Inherited from BindingList<T>.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from Collection<T>.)
Protected propertyItems (Inherited from Collection<T>.)
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingList<T>.)
Protected propertySortDirectionCore
Gets the direction the list is sorted.
(Inherited from BindingList<T>.)
Protected propertySortPropertyCore
Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns null.
(Inherited from BindingList<T>.)
Protected propertySupportsChangeNotificationCore
Gets a value indicating whether ListChanged events are enabled.
(Inherited from BindingList<T>.)
Protected propertySupportsSearchingCore
Gets a value indicating whether the list supports searching.
(Inherited from BindingList<T>.)
Protected propertySupportsSortingCore
Gets a value indicating whether the list supports sorting.
(Inherited from BindingList<T>.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from Collection<T>.)
Public methodAddNew
Adds a new item to the collection.
(Inherited from BindingList<T>.)
Protected methodAddNewCore
Adds a new item to the end of the collection.
(Inherited from BindingList<T>.)
Protected methodApplySortCore
Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
(Inherited from BindingList<T>.)
Public methodCancelNew
Discards a pending new item.
(Inherited from BindingList<T>.)
Public methodClear (Inherited from Collection<T>.)
Protected methodClearItems
Removes all elements from the collection.
(Inherited from BindingList<T>.)
Public methodContains (Inherited from Collection<T>.)
Public methodCopyTo (Inherited from Collection<T>.)
Public methodEndNew
Commits a pending new item to the collection.
(Inherited from BindingList<T>.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodFindCore
Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException.
(Inherited from BindingList<T>.)
Public methodGetEnumerator (Inherited from Collection<T>.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetItemProperties
Returns the PropertyDescriptorCollection that represents the properties on each item used to bind data.
Public methodGetListName
Returns the name of the list.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from Collection<T>.)
Public methodInsert (Inherited from Collection<T>.)
Protected methodInsertItem
Inserts the specified item in the list at the specified index.
(Inherited from BindingList<T>.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddingNew
Raises the AddingNew event.
(Inherited from BindingList<T>.)
Protected methodOnListChanged
Raises the ListChanged event.
(Inherited from BindingList<T>.)
Public methodRemove (Inherited from Collection<T>.)
Public methodRemoveAt (Inherited from Collection<T>.)
Protected methodRemoveItem
Removes the item at the specified index.
(Inherited from BindingList<T>.)
Protected methodRemoveSortCore
Removes any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.
(Inherited from BindingList<T>.)
Public methodResetBindings
Raises a ListChanged event of type Reset.
(Inherited from BindingList<T>.)
Public methodResetItem
Raises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingList<T>.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from BindingList<T>.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventAddingNew
Occurs before an item is added to the list.
(Inherited from BindingList<T>.)
Public eventListChanged
Occurs when the list or an item in the list changes.
(Inherited from BindingList<T>.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIList.Add
Adds an item to the IList.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIBindingList.AddIndex
For a description of this member, see AddIndex(PropertyDescriptor).
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate methodIBindingList.AddNew
Adds a new item to the list. For more information, see AddNew().
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.AllowEdit
Gets a value indicating whether items in the list can be edited.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.AllowNew
Gets a value indicating whether new items can be added to the list using the AddNew() method.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.AllowRemove
Gets a value indicating whether items can be removed from the list.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate methodIBindingList.ApplySort
Sorts the list based on a PropertyDescriptor and a ListSortDirection. For a complete description of this member, see ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate methodIList.Contains
Determines whether the IList contains a specific value.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodICollection.CopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIBindingList.Find
For a description of this member, see Find(PropertyDescriptor, Object).
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate methodIEnumerable.GetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIList.IndexOf
Determines the index of a specific item in the IList.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIList.Insert
Inserts an item into the IList at the specified index.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIList.IsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyICollection<T>.IsReadOnly (Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIList.IsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIBindingList.IsSorted
For a description of this member, see IsSorted.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyICollection.IsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIList.Item
Gets or sets the element at the specified index.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate propertyIRaiseItemChangedEvents.RaisesItemChangedEvents
Gets a value indicating whether item property value changes raise ListChanged events of type ItemChanged. This member cannot be overridden in a derived class.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate methodIList.Remove
Removes the first occurrence of a specific object from the IList.
(Inherited from Collection<T>.)
Explicit interface implementationPrivate methodIBindingList.RemoveIndex
For a description of this member, see RemoveIndex(PropertyDescriptor).
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate methodIBindingList.RemoveSort (Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.SortDirection
For a description of this member, see SortDirection.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.SortProperty
For a description of this member, see SortProperty.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.SupportsChangeNotification
For a description of this member, see SupportsChangeNotification.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.SupportsSearching
For a description of this member, see SupportsSearching.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyIBindingList.SupportsSorting
For a description of this member, see SupportsSorting.
(Inherited from BindingList<T>.)
Explicit interface implementationPrivate propertyICollection.SyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from Collection<T>.)
Top
See Also