Class ComboBoxFilterBehavior
Represents a filtering behavior for SfComboBox. Using the text entered in control, suggestion list gets created based on TextSearchMode. We can override this and show custom suggestions.
Implements
Inherited Members
Namespace: Syncfusion.Maui.Inputs
Assembly: Syncfusion.Maui.Inputs.dll
Syntax
public class ComboBoxFilterBehavior : IComboBoxFilterBehavior
Constructors
ComboBoxFilterBehavior()
Declaration
public ComboBoxFilterBehavior()
Methods
GetMatchingIndexes(SfComboBox, ComboBoxFilterInfo)
Finds matching indexes using the typed text.
Declaration
public virtual Task<object?> GetMatchingIndexes(SfComboBox source, ComboBoxFilterInfo filterInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| SfComboBox | source | The ComboBox control. |
| ComboBoxFilterInfo | filterInfo | Contains details about search text. |
Returns
| Type | Description |
|---|---|
| Task<object> | The list of matching indexes based on typed text. |