IBindingListView IBindingListView IBindingListView IBindingListView Interface

Definition

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

public interface class IBindingListView : System::Collections::IList, System::ComponentModel::IBindingList
public interface IBindingListView : System.Collections.IList, System.ComponentModel.IBindingList
type IBindingListView = interface
    interface IBindingList
    interface IList
    interface ICollection
    interface IEnumerable
Public Interface IBindingListView
Implements IBindingList, IList
Derived
Implements

Remarks

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.

Properties

AllowEdit AllowEdit AllowEdit AllowEdit

Gets whether you can update items in the list.

(Inherited from IBindingList)
AllowNew AllowNew AllowNew AllowNew

Gets whether you can add items to the list using AddNew().

(Inherited from IBindingList)
AllowRemove AllowRemove AllowRemove AllowRemove

Gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).

(Inherited from IBindingList)
Count Count Count Count

Gets the number of elements contained in the ICollection.

(Inherited from ICollection)
Filter Filter Filter Filter

Gets or sets the filter to be used to exclude items from the collection of items returned by the data source

IsFixedSize IsFixedSize IsFixedSize IsFixedSize

Gets a value indicating whether the IList has a fixed size.

(Inherited from IList)
IsReadOnly IsReadOnly IsReadOnly IsReadOnly

Gets a value indicating whether the IList is read-only.

(Inherited from IList)
IsSorted IsSorted IsSorted IsSorted

Gets whether the items in the list are sorted.

(Inherited from IBindingList)
IsSynchronized IsSynchronized IsSynchronized IsSynchronized

Gets a value indicating whether access to the ICollection is synchronized (thread safe).

(Inherited from ICollection)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets the element at the specified index.

(Inherited from IList)
SortDescriptions SortDescriptions SortDescriptions SortDescriptions

Gets the collection of sort descriptions currently applied to the data source.

SortDirection SortDirection SortDirection SortDirection

Gets the direction of the sort.

(Inherited from IBindingList)
SortProperty SortProperty SortProperty SortProperty

Gets the PropertyDescriptor that is being used for sorting.

(Inherited from IBindingList)
SupportsAdvancedSorting SupportsAdvancedSorting SupportsAdvancedSorting SupportsAdvancedSorting

Gets a value indicating whether the data source supports advanced sorting.

SupportsChangeNotification SupportsChangeNotification SupportsChangeNotification SupportsChangeNotification

Gets whether a ListChanged event is raised when the list changes or an item in the list changes.

(Inherited from IBindingList)
SupportsFiltering SupportsFiltering SupportsFiltering SupportsFiltering

Gets a value indicating whether the data source supports filtering.

SupportsSearching SupportsSearching SupportsSearching SupportsSearching

Gets whether the list supports searching using the Find(PropertyDescriptor, Object) method.

(Inherited from IBindingList)
SupportsSorting SupportsSorting SupportsSorting SupportsSorting

Gets whether the list supports sorting.

(Inherited from IBindingList)
SyncRoot SyncRoot SyncRoot SyncRoot

Gets an object that can be used to synchronize access to the ICollection.

(Inherited from ICollection)

Methods

Add(Object) Add(Object) Add(Object) Add(Object)

Adds an item to the IList.

(Inherited from IList)
AddIndex(PropertyDescriptor) AddIndex(PropertyDescriptor) AddIndex(PropertyDescriptor) AddIndex(PropertyDescriptor)

Adds the PropertyDescriptor to the indexes used for searching.

(Inherited from IBindingList)
AddNew() AddNew() AddNew() AddNew()

Adds a new item to the list.

(Inherited from IBindingList)
ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection)

Sorts the data source based on the given ListSortDescriptionCollection.

ApplySort(PropertyDescriptor, ListSortDirection) ApplySort(PropertyDescriptor, ListSortDirection) ApplySort(PropertyDescriptor, ListSortDirection) ApplySort(PropertyDescriptor, ListSortDirection)

Sorts the list based on a PropertyDescriptor and a ListSortDirection.

(Inherited from IBindingList)
Clear() Clear() Clear() Clear()

Removes all items from the IList.

(Inherited from IList)
Contains(Object) Contains(Object) Contains(Object) Contains(Object)

Determines whether the IList contains a specific value.

(Inherited from IList)
CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the elements of the ICollection to an Array, starting at a particular Array index.

(Inherited from ICollection)
Find(PropertyDescriptor, Object) Find(PropertyDescriptor, Object) Find(PropertyDescriptor, Object) Find(PropertyDescriptor, Object)

Returns the index of the row that has the given PropertyDescriptor.

(Inherited from IBindingList)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
IndexOf(Object) IndexOf(Object) IndexOf(Object) IndexOf(Object)

Determines the index of a specific item in the IList.

(Inherited from IList)
Insert(Int32, Object) Insert(Int32, Object) Insert(Int32, Object) Insert(Int32, Object)

Inserts an item to the IList at the specified index.

(Inherited from IList)
Remove(Object) Remove(Object) Remove(Object) Remove(Object)

Removes the first occurrence of a specific object from the IList.

(Inherited from IList)
RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the IList item at the specified index.

(Inherited from IList)
RemoveFilter() RemoveFilter() RemoveFilter() RemoveFilter()

Removes the current filter applied to the data source.

RemoveIndex(PropertyDescriptor) RemoveIndex(PropertyDescriptor) RemoveIndex(PropertyDescriptor) RemoveIndex(PropertyDescriptor)

Removes the PropertyDescriptor from the indexes used for searching.

(Inherited from IBindingList)
RemoveSort() RemoveSort() RemoveSort() RemoveSort()

Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).

(Inherited from IBindingList)

Events

ListChanged ListChanged ListChanged ListChanged

Occurs when the list changes or an item in the list changes.

(Inherited from IBindingList)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to