Interface IAutocompleteSearchBehavior
Represents an interface that provides information about a methods for performing search in SfAutocomplete control.
Namespace: Syncfusion.Maui.Inputs
Assembly: Syncfusion.Maui.Inputs.dll
Syntax
public interface IAutocompleteSearchBehavior
Methods
GetHighlightIndex(SfAutocomplete, AutocompleteSearchInfo)
Returns the index of the highlighted item in the DropDown of the SfAutocomplete.
Declaration
int GetHighlightIndex(SfAutocomplete source, AutocompleteSearchInfo searchInfo)
Parameters
Type | Name | Description |
---|---|---|
SfAutocomplete | source | The Autocomplete control. |
AutocompleteSearchInfo | searchInfo | Contains details regarding search text and filtered items of Autocomplete control. |
Returns
Type | Description |
---|---|
System.Int32 | The highlighted index. |