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 */
String get_Filter ()

/** @property */
void set_Filter (String value)

function get Filter () : String

function set Filter (value : String)

Not applicable.

Property Value

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 Sort.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

.NET Compact Framework

Supported in: 2.0

XNA Framework

Supported in: 1.0

Community Additions