This topic has not yet been rated - Rate this topic

IBindingListView Interface

Extends the IBindingList interface by providing advanced sorting and filtering capabilities.

Namespace:  System.ComponentModel
Assembly:  System (in System.dll)
public interface IBindingListView : IBindingList, 
	IList, ICollection, IEnumerable

The IBindingListView type exposes the following members.

  Name Description
Public property Supported by the XNA Framework AllowEdit Gets whether you can update items in the list. (Inherited from IBindingList.)
Public property Supported by the XNA Framework AllowNew Gets whether you can add items to the list using AddNew. (Inherited from IBindingList.)
Public property Supported by the XNA Framework AllowRemove Gets whether you can remove items from the list, using Remove or RemoveAt. (Inherited from IBindingList.)
Public property Supported by the XNA Framework Count Gets the number of elements contained in the ICollection. (Inherited from ICollection.)
Public property Supported by the XNA Framework Filter Gets or sets the filter to be used to exclude items from the collection of items returned by the data source
Public property Supported by the XNA Framework IsFixedSize Gets a value indicating whether the IList has a fixed size. (Inherited from IList.)
Public property Supported by the XNA Framework IsReadOnly Gets a value indicating whether the IList is read-only. (Inherited from IList.)
Public property Supported by the XNA Framework IsSorted Gets whether the items in the list are sorted. (Inherited from IBindingList.)
Public property Supported by the XNA Framework IsSynchronized Gets a value indicating whether access to the ICollection is synchronized (thread safe). (Inherited from ICollection.)
Public property Supported by the XNA Framework Item Gets or sets the element at the specified index. (Inherited from IList.)
Public property Supported by the XNA Framework SortDescriptions Gets the collection of sort descriptions currently applied to the data source.
Public property Supported by the XNA Framework SortDirection Gets the direction of the sort. (Inherited from IBindingList.)
Public property Supported by the XNA Framework SortProperty Gets the PropertyDescriptor that is being used for sorting. (Inherited from IBindingList.)
Public property Supported by the XNA Framework SupportsAdvancedSorting Gets a value indicating whether the data source supports advanced sorting.
Public property Supported by the XNA Framework SupportsChangeNotification Gets whether a ListChanged event is raised when the list changes or an item in the list changes. (Inherited from IBindingList.)
Public property Supported by the XNA Framework SupportsFiltering Gets a value indicating whether the data source supports filtering.
Public property Supported by the XNA Framework SupportsSearching Gets whether the list supports searching using the Find method. (Inherited from IBindingList.)
Public property Supported by the XNA Framework SupportsSorting Gets whether the list supports sorting. (Inherited from IBindingList.)
Public property Supported by the XNA Framework SyncRoot Gets an object that can be used to synchronize access to the ICollection. (Inherited from ICollection.)
Top
  Name Description
Public method Supported by the XNA Framework Add Adds an item to the IList. (Inherited from IList.)
Public method Supported by the XNA Framework AddIndex Adds the PropertyDescriptor to the indexes used for searching. (Inherited from IBindingList.)
Public method Supported by the XNA Framework AddNew Adds a new item to the list. (Inherited from IBindingList.)
Public method Supported by the XNA Framework ApplySort(ListSortDescriptionCollection) Sorts the data source based on the given ListSortDescriptionCollection.
Public method Supported by the XNA Framework ApplySort(PropertyDescriptor, ListSortDirection) Sorts the list based on a PropertyDescriptor and a ListSortDirection. (Inherited from IBindingList.)
Public method Supported by the XNA Framework Clear Removes all items from the IList. (Inherited from IList.)
Public method Supported by the XNA Framework Contains Determines whether the IList contains a specific value. (Inherited from IList.)
Public method Supported by the XNA Framework CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index. (Inherited from ICollection.)
Public method Supported by the XNA Framework Find Returns the index of the row that has the given PropertyDescriptor. (Inherited from IBindingList.)
Public method Supported by the XNA Framework GetEnumerator Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method Supported by the XNA Framework IndexOf Determines the index of a specific item in the IList. (Inherited from IList.)
Public method Supported by the XNA Framework Insert Inserts an item to the IList at the specified index. (Inherited from IList.)
Public method Supported by the XNA Framework Remove Removes the first occurrence of a specific object from the IList. (Inherited from IList.)
Public method Supported by the XNA Framework RemoveAt Removes the IList item at the specified index. (Inherited from IList.)
Public method Supported by the XNA Framework RemoveFilter Removes the current filter applied to the data source.
Public method Supported by the XNA Framework RemoveIndex Removes the PropertyDescriptor from the indexes used for searching. (Inherited from IBindingList.)
Public method Supported by the XNA Framework RemoveSort Removes any sort applied using ApplySort. (Inherited from IBindingList.)
Top
  Name Description
Public event Supported by the XNA Framework ListChanged Occurs when the list changes or an item in the list changes. (Inherited from IBindingList.)
Top
  Name Description
Public Extension Method AsParallel Enables parallelization of a query. (Defined by ParallelEnumerable.)
Public Extension Method AsQueryable Converts an IEnumerable to an IQueryable. (Defined by Queryable.)
Public Extension Method Supported by the XNA Framework Cast<TResult> Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Supported by the XNA Framework OfType<TResult> Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Top

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.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ