New to Telerik UI for .NET MAUIStart a free 30-day trial

Migrating the AutoComplete from Xamarin to .NET MAUI

The Telerik UI for .NET MAUI AutoComplete preserves the same API as its Xamarin counterpart except for the configuration options listed in this article.

The tables in the following sections list any differences between the APIs of the Xamarin.Forms AutoCompleteView and .NET MAUI AutoComplete.

Namespace Differences

When migrating the AutoCompleteView from Xamarin to .NET MAUI, consider the following differences in the namespaces:

ControlControl nameXAML NamespcaceC# Namespace
Xamarin AutoCompleteViewRadAutoCompleteViewxmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input"using Telerik.XamarinForms.Input;
.NET MAUI AutoCompleteRadAutoCompletexmlns:telerik="http://schemas.telerik.com/2022/xaml/maui"using Telerik.Maui.Controls;

API Differences

When migrating the AutoComplete from Xamarin to .NET MAUI, consider the following differences in the API:

Xamarin AutoCompleteView.NET MAUI AutoComplete
WatermarkTextPlaceholder
WatermarkTextColorPlaceholderColor
SuggestionItemTextColorSuggestionItemHighlightTextColor
SuggestionItemTemplate (DataTemplate) with ViewCell inside the TemplateSuggestionItemTemplate (DataTemplate)
SuggestionItemLabelRadHighlightLabel
ImagePathN/A
CompletionMode (of type CompletionMode)CompletionMode (of type AutoCompleteCompletionMode)
SuggestionViewPosition (of type PopupPosition)SuggestionViewPosition (of type AutoCompletePopupPosition)
SuggestMode of type(SuggestMode)SuggestMode (of type AutoCompleteSuggestMode)
FilteredItemsChangedEventArgs in namespace Telerik.XamarinForms.Input.AutoCompleteFilteredItemsChangedEventArgs in namespace Telerik.Maui.Controls.AutoComplete
SuggestionItemSelectedEventArgs in namespace Telerik.XamarinForms.Input.AutoCompleteSuggestionItemSelectedEventArgs in namespace Telerik.Maui.Controls.AutoComplete

See Also