Click or drag to resize

FilteringBindingListT 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
SystemObject
  System.Collections.ObjectModelCollectionT
    System.ComponentModelBindingListT
      SD.LLBLGen.Pro.Core.GeneralDataStructuresFilteringBindingListT

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

Type Parameters

T
the type of the elements in this list

The FilteringBindingListT type exposes the following members.

Constructors
  NameDescription
Public methodFilteringBindingListT
Initializes a new instance of the FilteringBindingListT class.
Public methodFilteringBindingListT(IListT)
Initializes a new instance of the FilteringBindingListT class.
Public methodFilteringBindingListT(IEnumerable)
Initializes a new instance of the FilteringBindingListT class.
Top
Properties
  NameDescription
Public propertyAllowEdit
Gets or sets a value indicating whether items in the list can be edited.
(Inherited from BindingListT.)
Public propertyAllowNew
Gets or sets a value indicating whether you can add items to the list using the AddNew method.
(Inherited from BindingListT.)
Public propertyAllowRemove
Gets or sets a value indicating whether you can remove items from the collection.
(Inherited from BindingListT.)
Public propertyCount (Inherited from CollectionT.)
Protected propertyIsSortedCore
Gets a value indicating whether the list is sorted.
(Inherited from BindingListT.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionT.)
Protected propertyItems (Inherited from CollectionT.)
Public propertyRaiseListChangedEvents
Gets or sets a value indicating whether adding or removing items within the list raises ListChanged events.
(Inherited from BindingListT.)
Protected propertySortDirectionCore
Gets the direction the list is sorted.
(Inherited from BindingListT.)
Protected propertySortPropertyCore
Gets the property descriptor that is used for sorting the list if sorting is implemented in a derived class; otherwise, returns .
(Inherited from BindingListT.)
Protected propertySupportsChangeNotificationCore
Gets a value indicating whether ListChanged events are enabled.
(Inherited from BindingListT.)
Protected propertySupportsSearchingCore
Gets a value indicating whether the list supports searching.
(Inherited from BindingListT.)
Protected propertySupportsSortingCore
Gets a value indicating whether the list supports sorting.
(Inherited from BindingListT.)
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionT.)
Public methodAddNew
Adds a new item to the collection.
(Inherited from BindingListT.)
Protected methodAddNewCore
Adds a new item to the end of the collection.
(Inherited from BindingListT.)
Protected methodApplySortCore
Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException.
(Inherited from BindingListT.)
Public methodCancelNew
Discards a pending new item.
(Inherited from BindingListT.)
Public methodClear (Inherited from CollectionT.)
Protected methodClearItems
Removes all elements from the collection.
(Inherited from BindingListT.)
Public methodContains (Inherited from CollectionT.)
Public methodCopyTo (Inherited from CollectionT.)
Public methodEndNew
Commits a pending new item to the collection.
(Inherited from BindingListT.)
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 BindingListT.)
Public methodGetEnumerator (Inherited from CollectionT.)
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 CollectionT.)
Public methodInsert (Inherited from CollectionT.)
Protected methodInsertItem
Inserts the specified item in the list at the specified index.
(Inherited from BindingListT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAddingNew
Raises the AddingNew event.
(Inherited from BindingListT.)
Protected methodOnListChanged
Raises the ListChanged event.
(Inherited from BindingListT.)
Public methodRemove (Inherited from CollectionT.)
Public methodRemoveAt (Inherited from CollectionT.)
Protected methodRemoveItem
Removes the item at the specified index.
(Inherited from BindingListT.)
Protected methodRemoveSortCore
Removes any sort applied with ApplySortCore(PropertyDescriptor, ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException.
(Inherited from BindingListT.)
Public methodResetBindings
Raises a ListChanged event of type Reset.
(Inherited from BindingListT.)
Public methodResetItem
Raises a ListChanged event of type ItemChanged for the item at the specified position.
(Inherited from BindingListT.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from BindingListT.)
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 BindingListT.)
Public eventListChanged
Occurs when the list or an item in the list changes.
(Inherited from BindingListT.)
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIBindingListAddIndex
For a description of this member, see AddIndex(PropertyDescriptor).
(Inherited from BindingListT.)
Explicit interface implementationPrivate methodIBindingListAddNew
Adds a new item to the list. For more information, see AddNew.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListAllowEdit
Gets a value indicating whether items in the list can be edited.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListAllowNew
Gets a value indicating whether new items can be added to the list using the AddNew method.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListAllowRemove
Gets a value indicating whether items can be removed from the list.
(Inherited from BindingListT.)
Explicit interface implementationPrivate methodIBindingListApplySort
Sorts the list based on a PropertyDescriptor and a ListSortDirection. For a complete description of this member, see ApplySort(PropertyDescriptor, ListSortDirection).
(Inherited from BindingListT.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIBindingListFind
For a description of this member, see Find(PropertyDescriptor, Object).
(Inherited from BindingListT.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIBindingListIsSorted
For a description of this member, see IsSorted.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionT.)
Explicit interface implementationPrivate propertyIRaiseItemChangedEventsRaisesItemChangedEvents
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 BindingListT.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionT.)
Explicit interface implementationPrivate methodIBindingListRemoveIndex
For a description of this member, see RemoveIndex(PropertyDescriptor).
(Inherited from BindingListT.)
Explicit interface implementationPrivate methodIBindingListRemoveSort (Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListSortDirection
For a description of this member, see SortDirection.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListSortProperty
For a description of this member, see SortProperty.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListSupportsChangeNotification
For a description of this member, see SupportsChangeNotification.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListSupportsSearching
For a description of this member, see SupportsSearching.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyIBindingListSupportsSorting
For a description of this member, see SupportsSorting.
(Inherited from BindingListT.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionT.)
Top
See Also