Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PassesFilter Method

ItemCollection.PassesFilter Method

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

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft