AutoCompleteSelectorT Delegate
Represents the selector used by the
AutoCompleteBox control to
determine how the specified text should be modified with an item.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public delegate string AutoCompleteSelector<T>(
string? search,
T item
)
Public Delegate Function AutoCompleteSelector(Of T) (
search As String,
item As T
) As String
type AutoCompleteSelector =
delegate of
search : string *
item : 'T -> string
- search String
- The string used as the basis for filtering.
- item T
-
The selected item that should be combined with the
search parameter.
- T
-
The type used for filtering the
AutoCompleteBox.
This type can be either a string or an object.
String
Modified text that will be used by the
AutoCompleteBox.