AutoCompleteFilterPredicateT Delegate
Represents the filter used by the
AutoCompleteBox control to
determine whether an item is a possible match for the specified text.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public delegate bool AutoCompleteFilterPredicate<T>(
string? search,
T item
)
Public Delegate Function AutoCompleteFilterPredicate(Of T) (
search As String,
item As T
) As Boolean
type AutoCompleteFilterPredicate =
delegate of
search : string *
item : 'T -> bool
- search String
- The string used as the basis for filtering.
- item T
- The item that is compared with the
search parameter.
- T
- The type used for filtering the
AutoCompleteBox. This type can
be either a string or an object.
Booleantrue to indicate
item is a possible match
for
search; otherwise false.