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.
Inheritance
System.Object
ComboBoxFilterBehavior
Implements
Namespace: Syncfusion.Maui.Inputs
Assembly: Syncfusion.Maui.Inputs.dll
Syntax
public class ComboBoxFilterBehavior : Object, 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 |
---|---|
System.Threading.Tasks.Task<System.Object> | The list of matching indexes based on typed text. |