Delegate AutoCompleteSelector<T>
Represents the selector used by the AutoCompleteBox control to determine how the specified text should be modified with an item.
public delegate string AutoCompleteSelector<T>(string? search, T item)
Parameters
search
stringThe string used as the basis for filtering.
item
TThe selected item that should be combined with the
search
parameter.
Returns
- string
Modified text that will be used by the AutoCompleteBox.
Type Parameters
T
The type used for filtering the AutoCompleteBox. This type can be either a string or an object.
Constructors
AutoCompleteSelector(object, nint)
public AutoCompleteSelector(object @object, nint method)
Parameters
Methods
BeginInvoke(string?, T, AsyncCallback, object)
public virtual IAsyncResult BeginInvoke(string? search, T item, AsyncCallback callback, object @object)
Parameters
search
stringitem
Tcallback
AsyncCallbackobject
object
Returns
EndInvoke(IAsyncResult)
public virtual string EndInvoke(IAsyncResult result)
Parameters
result
IAsyncResult
Returns
Invoke(string?, T)
public virtual string Invoke(string? search, T item)
Parameters
search
stringitem
T