ComponentOne Input Library for WPF
Input Library Overview / Multiselect / Work with Multiselect / 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:

    You can further customize the suggestions which appear on selecting Suggest or SuggestAppend modes by filtering items from the dropdown list based on one of the following filtering criteria:

    MultiSelect provides these filtering criteria through AutoSuggestMode. For more details, see Auto Suggest Mode topic.

    The following GIF displays the how the AutoComplete feature works in MultiSelect.

    Autocomplete mode in WPF MultiSelect

    To illustrate how the AutoComplete property is used for automatic completion of input, use the following code:

    <c1:C1MultiSelect x:Name="mselect" AutoCompleteMode="SuggestAppend" Height="100" Width="350"></c1:C1MultiSelect>
    
    mselect.AutoCompleteMode = AutoCompleteMode.SuggestAppend;