MultiSelect for WPF | ComponentOne
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 SuggestMode enumeration which can be set using AutoSuggestMode property of C1MultiSelect class.

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

    MultiSelect AutoComplete

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

    mselect.AutoCompleteMode = AutoCompleteMode.Suggest
    mselect.AutoSuggestMode = SuggestMode.Contains
    mselect.AutoCompleteMode = AutoCompleteMode.Suggest;
    mselect.AutoSuggestMode = SuggestMode.Contains;