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

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

SortDescriptions SortDescriptions SortDescriptions SortDescriptions

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

SupportsAdvancedSorting SupportsAdvancedSorting SupportsAdvancedSorting SupportsAdvancedSorting

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

SupportsFiltering SupportsFiltering SupportsFiltering SupportsFiltering

Gets a value indicating whether the data source supports filtering.

Methods

ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection)

Sorts the data source based on the given ListSortDescriptionCollection.

RemoveFilter() RemoveFilter() RemoveFilter() RemoveFilter()

Removes the current filter applied to the data source.

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