PassesFilter Method

ItemCollection.PassesFilter Method (Object)

 

Returns a value that indicates whether the specified item belongs to this view.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override bool PassesFilter(
	object item
)

Parameters

item
Type: System.Object

The object to test.

Return Value

Type: System.Boolean

true to indicate that the specified item belongs to this view or there is no filter set on this collection view; otherwise, false.

This method is typically used during collection-changed notifications to determine if the specified item belongs to this view.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft