[]
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:
None: Disables the automatic completion
Append: Appends remainder of the probable value and highlights it
Suggest: Displays dropdown list populated with one or more suggested values
SuggestAppend: Appends the probable value and displays a dropdown list populated with suggested 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:
Contains
StartWith
None
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.
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;