Class ListViewDelegateFilterDescriptor
Represents a filter descriptor that uses a delegate function to determine whether items pass the filter.
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.DataControls.ListView
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class ListViewDelegateFilterDescriptor : FilterDescriptorBase, IChildElement, IFilter
Constructors
ListViewDelegateFilterDescriptor()
Declaration
public ListViewDelegateFilterDescriptor()
Fields
FilterProperty
Identifies the Filter bindable property.
Declaration
public static readonly BindableProperty FilterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
Filter
Gets or sets the filter function used to determine whether items pass the filter.
Declaration
public Func<object, bool> Filter { get; set; }
Property Value
System.Func<System.Object, System.Boolean>
A System.Func<, > that takes an object and returns a boolean indicating whether it passes the filter. |
Methods
GetDescriptorCollection(RadListView)
Gets the descriptor collection from the specified list view.
Declaration
protected override IList GetDescriptorCollection(RadListView listView)
Parameters
RadListView
listView
The RadListView instance. |
Returns
System.Collections.IList
The filter descriptors collection as System.Collections.IList. |
Overrides
PassesFilterCore(Object)
Determines whether the specified item passes the filter criteria.
Declaration
protected override bool PassesFilterCore(object item)
Parameters
System.Object
item
The item to evaluate. |
Returns
System.Boolean
|