New to Telerik UI for .NET MAUI? Start 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:

Control Control name XAML Namespcace C# Namespace
Xamarin AutoCompleteView RadAutoCompleteView xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input" using Telerik.XamarinForms.Input;
.NET MAUI AutoComplete RadAutoComplete xmlns: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
WatermarkText Placeholder
WatermarkTextColor PlaceholderColor
SuggestionItemTextColor SuggestionItemHighlightTextColor
SuggestionItemLabel RadHighlightLabel
ImagePath N/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)

See Also

In this article