alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ComboBoxSearchBehavior

    Represents a search behavior for SfComboBox. Using the text entered in control, highlighted index gets calculated from the filtered items based on editable mode. We can override this and show custom highlight.

    Inheritance
    object
    ComboBoxSearchBehavior
    Implements
    IComboBoxSearchBehavior
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Maui.Inputs
    Assembly: Syncfusion.Maui.Inputs.dll
    Syntax
    public class ComboBoxSearchBehavior : IComboBoxSearchBehavior

    Constructors

    ComboBoxSearchBehavior()

    Declaration
    public ComboBoxSearchBehavior()

    Methods

    GetHighlightIndex(SfComboBox?, ComboBoxSearchInfo?)

    Returns the index of the highlighted item in the DropDown of the SfComboBox.

    Declaration
    public virtual int GetHighlightIndex(SfComboBox? source, ComboBoxSearchInfo? searchInfo)
    Parameters
    Type Name Description
    SfComboBox source

    The ComboBox control.

    ComboBoxSearchInfo searchInfo

    Contains details regarding search text and filtered items of ComboBox control.

    Returns
    Type Description
    int

    The highlighted index.

    Implements

    IComboBoxSearchBehavior
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved