ComponentOne MultiSelect for WinForms
Features / Auto Complete Mode
In This Topic
    Auto Complete Mode
    In This Topic

    MultiSelect supports AutoComplete feature which helps in automatic completion of input by suggesting or appending the values from the list. This feature can be implemented in MultiSelect using AutoCompleteMode property of C1MultiSelect class. The property accepts values from AutoCompleteMode enumeration which specifies the mode for automatic completion in the control through following values:

    The suggestions which appear on selecting Suggest or SuggestAppend modes are filtered from the dropdown list based on one of the following filtering criteria:

    MultiSelect provides these filtering criteria through AutoSuggestMode enumeration which can be set using AutoSuggestMode property of C1MultiSelect class.

    The following GIF displays the suggestions appearing on using AutoComplete feature in MultiSelect.

    Using AutoComplete feature in ComponentOne MultiSelect

    To illustrate how the AutoComplete and AutoSuggest properties are used for automatic completion of input, use the following code:

    c1MultiSelect1.AutoCompleteMode = AutoCompleteMode.Suggest
    c1MultiSelect1.AutoSuggestMode = C1.Win.C1Input.AutoSuggestMode.Contains
    
    c1MultiSelect1.AutoCompleteMode = AutoCompleteMode.Suggest;
    c1MultiSelect1.AutoSuggestMode = C1.Win.C1Input.AutoSuggestMode.Contains;