Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft