Xceed DataGrid for WPF v7.3 Documentation
PassesFilter Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridCollectionViewBase Class : PassesFilter Method
The item that is to be included in the view—if it passes the filtering criteria.
Returns a value indicating whether the specified item in the underlying data source passes the filtering criteria, and is therefore included in the view.
Syntax
'Declaration
 
Public Overrides Function PassesFilter( _
   ByVal item As Object _
) As Boolean
'Usage
 
Dim instance As DataGridCollectionViewBase
Dim item As Object
Dim value As Boolean
 
value = instance.PassesFilter(item)
public override bool PassesFilter( 
   object item
)

Parameters

item
The item that is to be included in the view—if it passes the filtering criteria.

Return Value

<true if the item is to be included in the view; false otherwise.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridCollectionViewBase Class
DataGridCollectionViewBase Members
Base Implementation in PassesFilter