DataGridCollectionView.

PassesFilter(object) Method

Summary

Return true if the item belongs to this view. The item is assumed to belong to the underlying DataCollection; this method merely takes filters into account. It is commonly used during collection-changed notifications to determine if the added/removed item requires processing. Returns true if no filter is set on collection view.
Namespace
Avalonia.Collections
Containing Type
DataGridCollectionView

Syntax

public bool PassesFilter(object item)

Parameters

Name Type Description
item object The item to compare against the Filter

Return Value

Type Description
bool Whether the item passes the filter