Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridCollectionViewBase Class / Filter Property


In This Topic
    Filter Property
    In This Topic
    Gets or sets a callback used to determine if an item is suitable for inclusion in the view.
    Syntax
    'Declaration
     
    <NullableAttribute(2)>
    Public Overrides Property Filter As Predicate(Of Object)
    'Usage
     
    Dim instance As DataGridCollectionViewBase
    Dim value As Predicate(Of Object)
     
    instance.Filter = value
     
    value = instance.Filter
    [Nullable(2)]
    public override Predicate<object> Filter {get; set;}

    Property Value

    A method used to determine if an item is suitable for inclusion in the view.
    Remarks
    The items that are displayed in a view can be limited to any filtering criteria. This means that even if an item exists in the underlying data source, it does not necessarily mean that it is displayed in the view.
    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