Skip to main content

AutoCompleteSelector<T> Delegate

Represents the selector used by the AutoCompleteBox control to determine how the specified text should be modified with an item.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

public delegate string AutoCompleteSelector<T>(
string? search,
T item
)

Parameters

  String
The string used as the basis for filtering.
  T
The selected item that should be combined with the search parameter.

Type Parameters

The type used for filtering the AutoCompleteBox. This type can be either a string or an object.

Return Value

String
Modified text that will be used by the AutoCompleteBox.

See Also

Reference

Avalonia.Controls Namespace