This documentation is archived and is not being maintained.
IBindingListView Interface
Visual Studio 2010
Extends the IBindingList interface by providing advanced sorting and filtering capabilities.
Assembly: System (in System.dll)
The IBindingListView type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | AllowEdit | Gets whether you can update items in the list. (Inherited from IBindingList.) |
![]() ![]() | AllowNew | Gets whether you can add items to the list using AddNew. (Inherited from IBindingList.) |
![]() ![]() | AllowRemove | Gets whether you can remove items from the list, using Remove or RemoveAt. (Inherited from IBindingList.) |
![]() ![]() | Count | Gets the number of elements contained in the ICollection. (Inherited from ICollection.) |
![]() ![]() | Filter | Gets or sets the filter to be used to exclude items from the collection of items returned by the data source |
![]() ![]() | IsFixedSize | Gets a value indicating whether the IList has a fixed size. (Inherited from IList.) |
![]() ![]() | IsReadOnly | Gets a value indicating whether the IList is read-only. (Inherited from IList.) |
![]() ![]() | IsSorted | Gets whether the items in the list are sorted. (Inherited from IBindingList.) |
![]() ![]() | IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.) |
![]() ![]() | Item | Gets or sets the element at the specified index. (Inherited from IList.) |
![]() ![]() | SortDescriptions | Gets the collection of sort descriptions currently applied to the data source. |
![]() ![]() | SortDirection | Gets the direction of the sort. (Inherited from IBindingList.) |
![]() ![]() | SortProperty | Gets the PropertyDescriptor that is being used for sorting. (Inherited from IBindingList.) |
![]() ![]() | SupportsAdvancedSorting | Gets a value indicating whether the data source supports advanced sorting. |
![]() ![]() | SupportsChangeNotification | Gets whether a ListChanged event is raised when the list changes or an item in the list changes. (Inherited from IBindingList.) |
![]() ![]() | SupportsFiltering | Gets a value indicating whether the data source supports filtering. |
![]() ![]() | SupportsSearching | Gets whether the list supports searching using the Find method. (Inherited from IBindingList.) |
![]() ![]() | SupportsSorting | Gets whether the list supports sorting. (Inherited from IBindingList.) |
![]() ![]() | SyncRoot | Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Add | Adds an item to the IList. (Inherited from IList.) |
![]() ![]() | AddIndex | Adds the PropertyDescriptor to the indexes used for searching. (Inherited from IBindingList.) |
![]() ![]() | AddNew | Adds a new item to the list. (Inherited from IBindingList.) |
![]() ![]() | ApplySort(ListSortDescriptionCollection) | Sorts the data source based on the given ListSortDescriptionCollection. |
![]() ![]() | ApplySort(PropertyDescriptor, ListSortDirection) | Sorts the list based on a PropertyDescriptor and a ListSortDirection. (Inherited from IBindingList.) |
![]() ![]() | Clear | Removes all items from the IList. (Inherited from IList.) |
![]() ![]() | Contains | Determines whether the IList contains a specific value. (Inherited from IList.) |
![]() ![]() | CopyTo | Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.) |
![]() ![]() | Find | Returns the index of the row that has the given PropertyDescriptor. (Inherited from IBindingList.) |
![]() ![]() | GetEnumerator | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) |
![]() ![]() | IndexOf | Determines the index of a specific item in the IList. (Inherited from IList.) |
![]() ![]() | Insert | Inserts an item to the IList at the specified index. (Inherited from IList.) |
![]() ![]() | Remove | Removes the first occurrence of a specific object from the IList. (Inherited from IList.) |
![]() ![]() | RemoveAt | Removes the IList item at the specified index. (Inherited from IList.) |
![]() ![]() | RemoveFilter | Removes the current filter applied to the data source. |
![]() ![]() | RemoveIndex | Removes the PropertyDescriptor from the indexes used for searching. (Inherited from IBindingList.) |
![]() ![]() | RemoveSort | Removes any sort applied using ApplySort. (Inherited from IBindingList.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ListChanged | Occurs when the list changes or an item in the list changes. (Inherited from IBindingList.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() ![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() ![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
With the IBindingListView interface, you implement advanced sorting as a set of property descriptor-direction pairs. You implement filtering as a string to be interpreted by the data source implementation. The IBindingListView interface is implemented by the BindingSource class.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
