Delegate AutoCompleteFilterPredicate<T>
Represents the filter used by the AutoCompleteBox control to determine whether an item is a possible match for the specified text.
Namespace: System.Windows.Controls
Assembly: Controls.Input.OpenSilver.dll
Syntax
public delegate bool AutoCompleteFilterPredicate<T>(string search, T item);
Parameters
Type | Name | Description |
---|---|---|
System.String | search | The string used as the basis for filtering. |
T | item | The item that is compared with the
|
Returns
Type | Description |
---|---|
System.Boolean | true to indicate |
Type Parameters
Name | Description |
---|---|
T | The type used for filtering the AutoCompleteBox. This type can be either a string or an object. |