Migrating the Entry from Xamarin to .NET MAUI
Telerik .NET MAUI Entry control preserves the same API as the Xamarin.Forms Entry with a few changes and improvements listed below.
Migrating the Namespaces
Control | Control name | XAML Namespcace | C# Namespace |
---|---|---|---|
Xamarin Entry | RadEntry |
xmlns:telerikInput="clr-namespace:Telerik.XamarinForms.Input;assembly=Telerik.XamarinForms.Input" | using Telerik.XamarinForms.Input; |
.NET MAUI Entry | RadEntry |
xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui" | using Telerik.Maui.Controls; |
Modifying the API
Xamarin Entry | .NET MAUI Entry |
---|---|
WatermarkText |
Placeholder |
WatermarkTextColor |
PlaceholderColor |
- | CharacterSpacing |
- | IsTextPredictionEnabled |
- | ReturnType |
- | ClearButtonVisibility |
CompletedCommand |
ReturnCommand |
BorderStyle.BorderColor |
BorderBrush |
BorderStyle.BorderThickness |
BorderThickness |
BorderStyle.CornerRadius |
CornerRadius |
- | ClearButtonColor |
- | FocusedBorderBrush |
- | FocusedBorderThickness |
For a complete guide on app migration to .NET MAUI, go to Migrating Xamarin to MAUI topic.