AutoComplete

RadMultiColumnComboBox provides a built-in set of auto-completion options. The control exposes the AutoCompleteMode property for setting them. It is an enumeration that has the Append, Search, Suggest and SuggestAppend values. This topic will go through each one of them.

The case sensitivity of the user's input can be controlled through the MatchCase boolean property. Its default value is False meaning that the input will be case insensitive. Respectively, when set to True it will be case sensitive.

  • Append: Only suggesting items without filtering. The first found item would be set as the CurrentItem of RadGridView.

: Example 1: Setting the AutoCompleteMode to Append

<telerik:RadMultiColumnComboBox VerticalAlignment="Top" AutoCompleteMode="Append" MatchCase="True">
        <telerik:RadMultiColumnComboBox.ItemsSourceProvider>
            <telerik:GridViewItemsSourceProvider ItemsSource="{Binding Clubs, Source={StaticResource MyViewModel}}"/>
        </telerik:RadMultiColumnComboBox.ItemsSourceProvider>
    </telerik:RadMultiColumnComboBox>

Figure 1: Setting the AutoCompleteMode to Append

Setting the AutoCompleteMode to Append

  • Search: Filters and highlights the data. For a string property a Contains operator will be applied, whereas for any other types an IsEqualTo will be used. This is basically the Search as you type mechanism of RadGridView.

Figure 2: Setting the AutoCompleteMode to Search

Setting the AutoCompleteMode to Search

  • Suggest: Filters the data but does not append.

Figure 3: Setting the AutoCompleteMode to Suggest

Setting the AutoCompleteMode to Sugggest

  • SuggestAppend: Both filtering and auto-completion is applied.

Figure 4: Setting the AutoCompleteMode to SuggestAppend

Setting the AutoCompleteMode to Suggest

See Also

In this article
Not finding the help you need? Improve this article