IBindingListView.Filter Property


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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

string Filter { get; set; }

Property Value

Type: System.String

The string used to filter items out in the item collection returned by the data source.

Your implementation of the Filter property should exhibit the following behavior when the Filter property is set: The data source returns only the items that meet the filter criteria when the list is accessed by item index or when the list is enumerated. The definition of the filter string is dependent on the data-source implementation, but the behavior associated with setting the filter should be modeled on DataColumn.Expression.

.NET Framework
Available since 2.0
Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft