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.UI.Xaml.Editors
Assembly: Syncfusion.Editors.WinUI.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 List<int> 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.Collections.Generic.List<System.Int32> | The list of matching indexes based on typed text. |