[]
        
(Showing Draft Content)

C1.Win.Input.C1ComboBox.AutoSuggestMode

AutoSuggestMode Property

AutoSuggestMode

Gets or sets an option that controls how candidates searching works in auto-suggest mode.

Declaration
public AutoSuggestMode AutoSuggestMode { get; set; }
Implements
Remarks

C1.Win.C1Input.C1ComboBox.AutoSuggestMode works together with AutoCompleteMode and AutoCompleteSource properties. The C1.Win.C1Input.AutoSuggestMode works only if CustomSource"/> or ListItems value is used in AutoCompleteSource. The property does not have any effect if AutoCompleteSource is any of AllSystemSources, AllUrl, FileSystem, FileSystemDirectories, HistoryList, None, RecentlyUsedList, HistoryList. The property does not have any effect if AutoCompleteMode is any of Node or Append.

Items in Auto-Suggest mode are shown without images and formatting as a plain text.

C1.Win.C1Input.C1ComboBox enters in Auto-Suggest mode when user types a character sequence that matches the filtering criteria.

Examples

This sample shows how to use the AutoSuggestMode property.

C1ComboBox comboBox = new C1ComboBox();
comboBox.AutoCompleteMode = AutoCompleteMode.Suggest;
comboBox.AutoCompleteSource = AutoCompleteSource.ListItems;
comboBox.AutoSuggestMode = AutoSuggestMode.Contains;
comboBox.Items.AddRange(new string[]
{
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December"
});