Xceed DataGrid for WPF v7.3 Documentation
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.


In This Topic
    PassesFilter Method
    In This Topic
    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
     
    <NullableContextAttribute(2)>
    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)
    [NullableContext(2)]
    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