PagedCollectionView.PassesFilter Method


Returns a value that indicates whether the specified item in the underlying collection belongs to the view after filters are applied.

Namespace:  System.Windows.Data
Assembly:  System.Windows.Data (in System.Windows.Data.dll)

public bool PassesFilter(
	Object item


Type: System.Object
The item to check.

Return Value

Type: System.Boolean
true if the specified item belongs to the filtered view or if no filter is set on the collection view; otherwise, false.

This method assumes that the specified item belongs to the underlying data collection. This method only compares the item to any filters set in the Filter property. If no filters are set, this method returns true. It is typically used during collection-changed notifications to determine whether the added or removed item requires processing.


Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions