Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ItemCollection.PassesFilter Method (Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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:
© 2017 Microsoft