New to Telerik UI for .NET MAUI? Start a free 30-day trial

Migrate from Xamarin.Forms RichTextEditor to .NET MAUI RichTextEditor

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

Migrate the Namespaces

Control Control name XAML Namespcace C# Namespace
Xamarin RichTextEditor RichTextEditor xmlns:telerikRichTextEditor="clr-namespace:Telerik.XamarinForms.RichTextEditor;assembly=Telerik.XamarinForms.RichTextEditor" using Telerik.XamarinForms.RichTextEditor;
.NET MAUI RichTextEditor RadRichTextEditor xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui" using Telerik.Maui.Controls;
Xamarin RichTextEditorToolbar RadRichTextEditorToolbar xmlns:telerikRichTextEditor="clr-namespace:Telerik.XamarinForms.RichTextEditor;assembly=Telerik.XamarinForms.RichTextEditor" using Telerik.XamarinForms.RichTextEditor;
.NET MAUI RichTextEditorToolbar RadRichTextEditorToolbar xmlns:telerik="http://schemas.telerik.com/2022/xaml/maui" Telerik.Maui.Controls.RichTextEditor;

API Changes

All toolbar items have RichTextEditor in front of the naming. For example:

Xamarin RichTextEditor .NET MAUI RichTextEditor
BoldToolbarItem RichTextEditorBoldToolbarItem
ClearFormattingToolbarItem RichTextEditorClearFormattingToolbarItem
AddImageToolbarItem RichTextEditorImageNavigationToolbarItem
AddHyperlinkToolbarItem RichTextEditorHyperlinkNavigationToolbarItem

The .NET MAUI RichTextEditor Toolbar is a new toolbar that inherits from Telerik .NET MAUI Toolbar.

See Also

In this article