Microsoft Silverlight will reach end of support after October 2021. Learn more.
Returns a value that indicates whether the specified item in the underlying collection belongs to the view after filters are applied.
Assembly: System.Windows.Data (in System.Windows.Data.dll)
'Declaration Public Function PassesFilter ( _ item As Object _ ) As Boolean
public bool PassesFilter( Object item )
The item to check.
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.